!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@wix/image-kit"),require("react"),require("react-dom"),require("lodash")):"function"==typeof define&&define.amd?define(["imageClientApi","react","reactDOM","lodash"],t):"object"==typeof exports?exports.BlogViewerWidgetNoCss=t(require("@wix/image-kit"),require("react"),require("react-dom"),require("lodash")):e.BlogViewerWidgetNoCss=t(e.__imageClientApi__,e.React,e.ReactDOM,e._)}("undefined"!=typeof self?self:this,((e,t,n,o)=>(()=>{var r={58899:e=>{e.exports={TRANSFORM_TYPE_FIT:"fit",TRANSFORM_TYPE_FILL:"fill"}},96648:(e,t,n)=>{var o=n(58899).TRANSFORM_TYPE_FIT,r=n(16252).min,i="png",a=[i,"gif","jpg","jpeg"];function s(e){return(/[.]([^.]+)$/.exec(e)&&/[.]([^.]+)$/.exec(e)[1]||"").toLowerCase()}e.exports={getImageFilename:function(e){return e?e.replace(/^media\//,""):""},getImageUrl:function(e){return function(t,n){var l=void 0===t?{}:t,u=l.file_name,c=l.width,d=l.height,p=void 0===n?{}:n,m=p.maxWidth,h=void 0===m?1e3:m,g=p.maxHeight,f=void 0===g?1e3:g,v=p.quality,y=void 0===v?80:v,b=p.type,E=void 0===b?o:b,A=p.format,C=p.blur,S=void 0===C?0:C,w=p.encode,O=void 0!==w&&w;if(!A){var N=s(u);A=a.includes(N)?N:i}if(u){var P=[r([h,c]),r([f,d])];return"https://"+e+"/media/"+u+"/v1/"+E+"/w_"+P[0]+"%2Ch_"+P[1]+"%2C"+function(e){return e>0?"blur_"+e+"%2C":""}(S)+"al_c"+(y&&A!==i?"%2Cq_"+y:"")+(O?",enc_auto":"")+"/file."+A}return""}},getFileFormat:s}},97377:(e,t,n)=>{var o=n(96648),r=o.getImageFilename,i=o.getImageUrl;e.exports={resizeThumbnail:function(e){return function(t,n,o){return{url:i(e)({file_name:r(t),width:n,height:o},{maxWidth:640,maxHeight:480}),width:640,height:480}}},MAX_THUMBNAIL_WIDTH:640,MAX_THUMBNAIL_HEIGHT:480}},73990:e=>{e.exports=function(e){return function(t){return t&&e?"https://"+e+"/"+t:""}}},44239:(e,t,n)=>{"use strict";var o=Object.assign||function(e){for(var t=1;t{"use strict";e.exports={APP_PROTOCOL:"https",BLOG_SECTION_ID:"blog",BLOG_POST_PAGE_SECTION_ID:"post",MEMBERS_APP_ID:"14ad9202-3dd3-128a-57bd-e5675fd7e313",FORUM_APP_ID:"14724f35-6794-cd1a-0244-25fd138f9242",FORUM_SECTION_ID:"forum",SANTA_MEMBERS_APP_ID:"14cc59bc-f0b7-15b8-e1c7-89ce41d0e0c9",NOTIFICATIONS_APP_ID:"14f25924-5664-31b2-9568-f9c5ed98c9b1",NOTIFICATIONS_SETTING_APP_ID:"14f25dc5-6af3-5420-9568-f9c5ed98c9b1",MEMBER_INFO_APP_ID:"14cffd81-5215-0a7f-22f8-074b0e2401fb",MEMBER_INFO_SECTION_ID:"member_info",FOLLOWERS_APP_ID:"14ebe801-d78a-daa9-c9e5-0286a891e46f",FORUM_RECENT_POST_WIDGET_ID:"151bd179-dfe6-3ca3-399c-ee97957f93a2",FORUM_APP_PAGE_ID:"1489040e-001f-4631-55a9-2c29b4417126",CHAT_APP_DEF_ID:"14517e1a-3ff0-af98-408e-2bd6953c36a2"}},27579:(e,t,n)=>{"use strict";var o=n(16252),r=o.chain,i=o.identity,a=o.trim,s=o.truncate,l=function(e){return e.replace(/{\$h\d}(.*?){\$h}/g,(function(e,t){return t}))};e.exports={getContentText:function(e,t){var n=r(e).get("blocks",[]).filter((function(e){return"atomic"!==e.type})).map((function(e){return a(e.text)})).map(l).filter(i).join(" ").value();return t?s(n,{length:t}):n}}},79597:(e,t,n)=>{"use strict";var o,r=Object.assign||function(e){for(var t=1;t-1})),o=t[n];return o?function(e){var t=s(e,"data.src");return t&&t.fallback?{file_name:t.file_name||t.fallback,width:c(t.width),height:c(t.height)}:t}(o)||function(e){var t=s(e,"data.items[0]");return t?{file_name:t.url,width:t.metadata?t.metadata.width:0,height:t.metadata?t.metadata.height:0}:{}}(o):void 0},h="VIDEO-EMBED",g="wix-draft-plugin-video",f=[h,g],v=((o={})[h]="data.oembed",o[g]="data.metadata.oembed",o),y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=p(e),o=a(n,(function(e){return f.includes(e.type)&&(s(e,v[e.type]+".thumbnail_url")||s(e,"data.src.thumbnail"))})),i=n[o];return i?function(e){if(s(e,v[e.type]+".thumbnail_url")){var t=s(e,v[e.type]);return u(t.thumbnail_url,"//")?r({},t,{thumbnail_url:"https:"+t.thumbnail_url}):t}}(i)||function(e,t){var n=t.resizeThumbnail,o=t.getVideoUrl;if(n&&o){var r=s(e,"data.src"),i=s(e,"data.src.thumbnail");if(i){var a=n(i.pathname,i.width,i.height);return{thumbnail_url:a.url,thumbnail_height:a.height,thumbnail_width:a.width,video_url:o(r.pathname)}}}}(i,t):void 0},b=function(e){var t=s(e,"coverImage",{})||{},n=t.isEnabled,o=void 0===n||n,r=t.isCustom,i=void 0===r||r,a=t.src;return l(a)?{isEnabled:o,isCustom:!1}:{isEnabled:o,imageMetadata:a,isCustom:i}},E=function(e){var t=e.coverImage||{},n=t.isResolved,o=function(e,t){var n={};for(var o in e)t.indexOf(o)>=0||Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o]);return n}(t,["isResolved"]);return!0===n?o:void 0};e.exports={getPostImageCover:m,getPostVideoEmbedCover:y,getCustomCoverImage:b,getPostCover:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=E(e);if(n)return n;var o=b(e),r=o.imageMetadata,i=o.videoMetadata,a=o.isCustom,l=o.isEnabled;return r||(r=m(e)),r||(i=y(e,t)),{shouldRender:Boolean(r||i)&&l,imageMetadata:r,videoMetadata:i,src:r||s(i,"thumbnail_url"),isEnabled:l,isCustom:a}},getResolvedCoverImage:E}},41450:e=>{"use strict";e.exports={numberOrZero:function(e){return Number(e)||0}}},45967:(e,t,n)=>{"use strict";n.d(t,{Mz:()=>s});var o="NOT_FOUND";var r=function(e,t){return e===t};function i(e,t){var n,i,a="object"==typeof t?t:{equalityCheck:t},s=a.equalityCheck,l=void 0===s?r:s,u=a.maxSize,c=void 0===u?1:u,d=a.resultEqualityCheck,p=function(e){return function(t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var o=t.length,r=0;r-1){var i=n[r];return r>0&&(n.splice(r,1),n.unshift(i)),i.value}return o}return{get:r,put:function(t,i){r(t)===o&&(n.unshift({key:t,value:i}),n.length>e&&n.pop())},getEntries:function(){return n},clear:function(){n=[]}}}(c,p);function h(){var t=m.get(arguments);if(t===o){if(t=e.apply(null,arguments),d){var n=m.getEntries().find((function(e){return d(e.value,t)}));n&&(t=n.value)}m.put(arguments,t)}return t}return h.clearCache=function(){return m.clear()},h}function a(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{var o=n(62017),r=n(78878),i=r;i.v1=o,i.v4=r,e.exports=i},52223:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var o=n||0,r=t;return[r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],"-",r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]],r[e[o++]]].join("")}},4350:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var o=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),o[t]=e>>>((3&t)<<3)&255;return o}}},62017:(e,t,n)=>{var o,r,i=n(4350),a=n(52223),s=0,l=0;e.exports=function(e,t,n){var u=t&&n||0,c=t||[],d=(e=e||{}).node||o,p=void 0!==e.clockseq?e.clockseq:r;if(null==d||null==p){var m=i();null==d&&(d=o=[1|m[0],m[1],m[2],m[3],m[4],m[5]]),null==p&&(p=r=16383&(m[6]<<8|m[7]))}var h=void 0!==e.msecs?e.msecs:(new Date).getTime(),g=void 0!==e.nsecs?e.nsecs:l+1,f=h-s+(g-l)/1e4;if(f<0&&void 0===e.clockseq&&(p=p+1&16383),(f<0||h>s)&&void 0===e.nsecs&&(g=0),g>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=h,l=g,r=p;var v=(1e4*(268435455&(h+=122192928e5))+g)%4294967296;c[u++]=v>>>24&255,c[u++]=v>>>16&255,c[u++]=v>>>8&255,c[u++]=255&v;var y=h/4294967296*1e4&268435455;c[u++]=y>>>8&255,c[u++]=255&y,c[u++]=y>>>24&15|16,c[u++]=y>>>16&255,c[u++]=p>>>8|128,c[u++]=255&p;for(var b=0;b<6;++b)c[u+b]=d[b];return t||a(c)}},78878:(e,t,n)=>{var o=n(4350),r=n(52223);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||o)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[i+s]=a[s];return t||r(a)}},88954:(e,t,n)=>{"use strict";var o,r;n.d(t,{A:()=>o,g:()=>r}),function(e){e.PARAGRAPH="PARAGRAPH",e.TEXT="TEXT",e.HEADING="HEADING",e.BULLETED_LIST="BULLETED_LIST",e.ORDERED_LIST="ORDERED_LIST",e.LIST_ITEM="LIST_ITEM",e.BLOCKQUOTE="BLOCKQUOTE",e.CODE_BLOCK="CODE_BLOCK",e.VIDEO="VIDEO",e.DIVIDER="DIVIDER",e.FILE="FILE",e.GALLERY="GALLERY",e.GIF="GIF",e.HTML="HTML",e.IMAGE="IMAGE",e.LINK_PREVIEW="LINK_PREVIEW",e.MAP="MAP",e.POLL="POLL",e.APP_EMBED="APP_EMBED",e.BUTTON="BUTTON",e.COLLAPSIBLE_LIST="COLLAPSIBLE_LIST",e.TABLE="TABLE",e.EMBED="EMBED",e.COLLAPSIBLE_ITEM="COLLAPSIBLE_ITEM",e.COLLAPSIBLE_ITEM_TITLE="COLLAPSIBLE_ITEM_TITLE",e.COLLAPSIBLE_ITEM_BODY="COLLAPSIBLE_ITEM_BODY",e.TABLE_CELL="TABLE_CELL",e.TABLE_ROW="TABLE_ROW",e.EXTERNAL="EXTERNAL",e.AUDIO="AUDIO",e.UNRECOGNIZED="UNRECOGNIZED"}(o||(o={})),function(e){e.BOLD="BOLD",e.ITALIC="ITALIC",e.UNDERLINE="UNDERLINE",e.SPOILER="SPOILER",e.ANCHOR="ANCHOR",e.MENTION="MENTION",e.LINK="LINK",e.COLOR="COLOR",e.FONT_SIZE="FONT_SIZE",e.EXTERNAL="EXTERNAL",e.UNRECOGNIZED="UNRECOGNIZED"}(r||(r={}))},22054:(e,t,n)=>{"use strict";n.d(t,{FC:()=>a,Ur:()=>r,l:()=>i,y$:()=>o});const o="file-download-will-begin-shortly",r="file-too-big",i="file-upload-limited",a="file-upload-failure"},52688:(e,t,n)=>{"use strict";n.d(t,{Jl:()=>o,aj:()=>r});const o="blog",r="post"},63544:(e,t,n)=>{"use strict";n.d(t,{AJ:()=>i,Xv:()=>s,r2:()=>a});var o=n(74740);const r={[o.As]:{title:{start:22,min:16,max:22},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.ML]:{title:{start:26,min:18,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.sC]:{title:{start:28,min:20,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.ag]:{title:{start:26},description:{start:16},metadata:{start:12}},[o.yK]:{title:{start:40},description:{start:18},metadata:{start:14}},[o.gu]:{title:{start:22},description:{start:16},metadata:{start:12}},[o.Nk]:{title:{start:28,min:20,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.Ul]:{title:{start:22,min:16,max:22},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.LO]:{title:{start:28,min:16,max:22},description:{start:16},metadata:{start:12}},[o.h5]:{title:{start:26,min:26,max:48},description:{start:16},metadata:{start:12}},[o.QC]:{title:{start:22,min:12,max:30},description:{start:14,min:12,max:18},metadata:{start:12}},[o.G_]:{title:{start:14,min:12,max:30},description:{start:14,min:12,max:18},metadata:{start:12}},[o.a1]:{title:{start:22,min:12,max:30},description:{start:16,min:12,max:18},metadata:{start:12}},[o.bf]:{title:{start:22,min:26,max:48},description:{start:16},metadata:{start:12}},[o.XH]:{title:{start:26,min:26,max:48},description:{start:16},metadata:{start:12},mobile:{title:{start:22,min:20,max:48},description:{start:16},metadata:{start:12}}},[o.nH]:{title:{start:28,min:26,max:48},description:{start:16},metadata:{start:12}},[o.Em]:{title:{start:26,min:18,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.Zv]:{title:{start:28,min:20,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.yp]:{title:{start:28,min:20,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o.ql]:{title:{start:22,min:26,max:48},description:{start:16},metadata:{start:12},mobile:{title:{start:22,min:26,max:48},description:{start:16},metadata:{start:12}}},[o.Qc]:{title:{start:22,min:26,max:48},description:{start:16},metadata:{start:12}},[o.qt]:{title:{start:22,min:26,max:48},description:{start:16},metadata:{start:12}},[o.xA]:{title:{start:28,min:20,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14}},[o._m]:{title:{start:22,min:20,max:28},description:{start:16,min:12,max:16},metadata:{start:12,min:10,max:14},mobile:{title:{start:22,min:20,max:28},description:{start:14,min:12,max:16},metadata:{start:12,min:10,max:14}}},[o.mA]:{title:{start:14},description:{start:14},metadata:{start:12},mobile:{title:{start:14},description:{start:14},metadata:{start:12}}},[o.s4]:{title:{start:18},description:{start:14},metadata:{start:12}},[o.Ws]:{title:{start:22},description:{start:14},metadata:{start:12}}},i=(e,t,n)=>{const o=n&&r[e].mobile;return o?o[t].start:r[e][t].start},a=(e,t)=>r[e][t].max,s=(e,t)=>r[e][t].min},15413:(e,t,n)=>{"use strict";n.d(t,{F$:()=>r});var o=n(93396);const r="posts",i=`posts-${o.Is.unpublished}`,a=`posts-${o.Is.published}`,s=`posts-${o.Is.scheduled}`,l=`posts-${o.Is.deleted}`,u=`posts-${o.Is.in_review}`},13246:(e,t,n)=>{"use strict";n.d(t,{t:()=>c});var o=n(16252),r=n(3790),i=n(17617);const a={[i.$T]:!0,[i.BA]:!0,[i.DA]:!0,[i.Dt]:!1,[i.xg]:!0,[i.zA]:!0,[i.FX]:!0,[i.sk]:!0,[i.MA]:!0,[i.zg]:!0,[i.nS]:!0,[i.dJ]:!0,[i.mY]:!0,[i.OB]:!0,[i.$u]:!0,[i.dp]:!0,[i.DF]:!0,[i.sm]:!0,[i.eU]:i.RL},s={[i.$T]:!1,[i.BA]:!1,[i.DA]:!1,[i.Dt]:!1,[i.xg]:!1,[i.zA]:!1,[i.FX]:!0,[i.sk]:!0,[i.MA]:!1,[i.zg]:!0,[i.dJ]:!0,[i.nS]:!1,[i.mY]:!1,[i.OB]:!1,[i.$u]:!1,[i.dp]:!1,[i.DF]:!0,[i.sm]:!0,[i.eU]:i.RL},l={[i.$T]:!1,[i.BA]:!1,[i.DA]:!1,[i.Dt]:!1,[i.xg]:!1,[i.zA]:!1,[i.FX]:!0,[i.sk]:!1,[i.MA]:!1,[i.zg]:!1,[i.nS]:!1,[i.dJ]:!1,[i.mY]:!1,[i.OB]:!1,[i.$u]:!1,[i.dp]:!1,[i.DF]:!0,[i.sm]:!1,[i.eU]:i.RL},u={[r.ti]:a,[r.vx]:a,[r.wj]:a,[r.e8]:a,[r.CI]:l,[r.$Y]:s},c=(e,t=r.ti)=>(0,o.get)(u,[t,e])},45696:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const o={formats:{date:{monthAndYearUtc:{month:"long",year:"numeric"},date:{month:"short",day:"numeric"},fullDate:{year:"numeric",month:"short",day:"numeric"}},time:{hoursAndMinutes:{hour:"numeric",minute:"2-digit"}}}}},74740:(e,t,n)=>{"use strict";n.d(t,{$5:()=>Ae,As:()=>u,D1:()=>le,D5:()=>ye,Em:()=>A,Ev:()=>Ce,GD:()=>Q,G_:()=>f,Ge:()=>ce,IG:()=>be,It:()=>he,JQ:()=>U,KN:()=>de,LO:()=>k,ML:()=>c,NN:()=>Se,Nk:()=>x,PE:()=>o,Pd:()=>J,Q2:()=>F,QC:()=>g,Qc:()=>O,Qz:()=>Ee,S1:()=>$,Sv:()=>ue,Ul:()=>D,W5:()=>se,WW:()=>B,Ws:()=>_,XH:()=>b,Xe:()=>G,ZI:()=>K,Zv:()=>C,_R:()=>H,_c:()=>z,_m:()=>L,a1:()=>v,ag:()=>p,bf:()=>y,ei:()=>pe,fG:()=>ve,gc:()=>ge,gu:()=>h,h5:()=>R,iw:()=>j,js:()=>me,kS:()=>V,l3:()=>ne,l4:()=>Z,mA:()=>I,nH:()=>E,pV:()=>W,q7:()=>fe,ql:()=>w,qt:()=>N,rc:()=>we,s4:()=>T,sC:()=>d,ur:()=>M,v:()=>q,wO:()=>Y,xA:()=>P,yK:()=>m,yp:()=>S,z5:()=>l});var o,r,i,a=n(16252),s=n(3790);!function(e){e[e.CardProfile=3]="CardProfile",e[e.FullPost=4]="FullPost",e[e.Mobile=5]="Mobile",e[e.OneColumnMobile=10]="OneColumnMobile",e[e.SideBySideMobile=11]="SideBySideMobile",e[e.TextOnImageMobile=12]="TextOnImageMobile",e[e.PgTextOnImageSmall=23]="PgTextOnImageSmall",e[e.PgTextOnImageMedium=13]="PgTextOnImageMedium",e[e.PgTextOnImageLarge=24]="PgTextOnImageLarge",e[e.PgCardMedium=14]="PgCardMedium",e[e.PgSideBySide=15]="PgSideBySide",e[e.PgSideBySideRight=22]="PgSideBySideRight",e[e.PgGrid=16]="PgGrid",e[e.PgGridIntermediate=20]="PgGridIntermediate",e[e.PgGridLarge=21]="PgGridLarge",e[e.PgOneColumn=17]="PgOneColumn",e[e.Slider=18]="Slider",e[e.List=19]="List",e[e.ListMedium=25]="ListMedium",e[e.ListLarge=26]="ListLarge",e[e.CardSmall=0]="CardSmall",e[e.CardMedium=1]="CardMedium",e[e.CardLarge=2]="CardLarge",e[e.SideBySide=6]="SideBySide",e[e.Grid=7]="Grid",e[e.TextOnImageSmall=8]="TextOnImageSmall",e[e.TextOnImageMedium=9]="TextOnImageMedium"}(o||(o={})),function(e){e.CardSmall="small",e.CardMedium="medium",e.CardLarge="large",e.CardProfile="profile",e.FullPost="full",e.SideBySide="side-by-side",e.Grid="grid",e.TextOnImageSmall="text-on-image-small",e.TextOnImageMedium="text-on-image-medium",e.PgTextOnImageSmall="pg-text-on-image-small",e.PgTextOnImageMedium="pg-text-on-image-medium",e.PgTextOnImageLarge="pg-text-on-image-large",e.PgCardMedium="pg-medium",e.PgSideBySide="pg-side-by-side",e.PgSideBySideRight="pg-side-by-side-right",e.PgGrid="pg-grid",e.PgGridIntermediate="pg-grid-intermediate",e.PgGridLarge="pg-grid-large",e.PgOneColumn="pg-one-column",e.Slider="slider",e.List="list",e.ListMedium="list-medium",e.ListLarge="list-large",e.Mobile="mobile",e.OneColumnMobile="one-column-mobile",e.SideBySideMobile="side-by-side-mobile",e.TextOnImageMobile="text-on-image-mobile"}(r||(r={})),function(e){e[e.CardMedium=1]="CardMedium",e[e.SideBySide=6]="SideBySide",e[e.TextOnImageMedium=9]="TextOnImageMedium",e[e.Grid=7]="Grid",e[e.CardSmall=0]="CardSmall",e[e.TextOnImageSmall=8]="TextOnImageSmall",e[e.CardLarge=2]="CardLarge"}(i||(i={}));const l=o.Grid,u=o.CardSmall,c=o.CardMedium,d=o.CardLarge,p=o.CardProfile,m=o.FullPost,h=o.Mobile,g=o.OneColumnMobile,f=o.SideBySideMobile,v=o.TextOnImageMobile,y=o.PgTextOnImageSmall,b=o.PgTextOnImageMedium,E=o.PgTextOnImageLarge,A=o.PgCardMedium,C=o.PgSideBySide,S=o.PgSideBySideRight,w=o.PgGrid,O=o.PgGridIntermediate,N=o.PgGridLarge,P=o.PgOneColumn,L=o.Slider,I=o.List,T=o.ListMedium,_=o.ListLarge,x=o.SideBySide,D=o.Grid,k=o.TextOnImageSmall,R=o.TextOnImageMedium,M=r.CardSmall,B=r.CardMedium,F=r.CardLarge,U=(r.CardProfile,r.FullPost,r.Mobile,r.SideBySide),j=r.Grid,G=r.TextOnImageSmall,W=r.TextOnImageMedium,H=r.OneColumnMobile,z=r.SideBySideMobile,V=r.TextOnImageMobile,J=r.PgTextOnImageSmall,Z=r.PgTextOnImageMedium,K=r.PgTextOnImageLarge,$=r.PgCardMedium,q=r.PgSideBySide,Y=(r.PgSideBySideRight,r.PgGrid),X=(r.PgGridIntermediate,r.PgGridLarge,r.PgOneColumn,r.Slider,r.List,r.ListMedium,r.ListLarge,[r.Mobile,r.OneColumnMobile,r.SideBySideMobile,r.TextOnImageMobile]),Q={[o.CardSmall]:r.CardSmall,[o.CardMedium]:r.CardMedium,[o.CardLarge]:r.CardLarge,[o.FullPost]:r.FullPost,[o.SideBySide]:r.SideBySide,[o.Grid]:r.Grid,[o.TextOnImageSmall]:r.TextOnImageSmall,[o.TextOnImageMedium]:r.TextOnImageMedium,[o.TextOnImageMobile]:r.TextOnImageMobile,[o.PgTextOnImageSmall]:r.PgTextOnImageSmall,[o.PgTextOnImageMedium]:r.PgTextOnImageMedium,[o.PgTextOnImageLarge]:r.PgTextOnImageLarge,[o.PgCardMedium]:r.PgCardMedium,[o.PgSideBySide]:r.PgSideBySide,[o.PgSideBySideRight]:r.PgSideBySideRight,[o.PgGrid]:r.PgGrid,[o.PgGridIntermediate]:r.PgGridIntermediate,[o.PgGridLarge]:r.PgGridLarge,[o.PgOneColumn]:r.PgOneColumn,[o.List]:r.List,[o.ListMedium]:r.ListMedium,[o.ListLarge]:r.ListLarge,[o.Slider]:r.Slider},ee={[o.PgGrid]:r.PgGrid,[o.PgGridLarge]:r.PgGridLarge,[o.Slider]:r.Slider,[o.ListMedium]:r.ListMedium,[o.ListLarge]:r.ListLarge,[o.PgSideBySide]:r.PgSideBySide,[o.PgSideBySideRight]:r.PgSideBySideRight,[o.PgOneColumn]:r.PgOneColumn,[o.PgTextOnImageSmall]:r.PgTextOnImageSmall,[o.PgTextOnImageMedium]:r.PgTextOnImageMedium,[o.PgTextOnImageLarge]:r.PgTextOnImageLarge,[o.PgGridIntermediate]:r.PgGridIntermediate,[o.List]:r.List,[o.PgCardMedium]:r.PgCardMedium},te={[o.PgGrid]:r.PgGrid,[o.PgGridLarge]:r.PgGridLarge,[o.Slider]:r.Slider,[o.ListMedium]:r.ListMedium,[o.ListLarge]:r.ListLarge,[o.PgSideBySide]:r.PgSideBySide,[o.PgSideBySideRight]:r.PgSideBySideRight,[o.PgOneColumn]:r.PgOneColumn,[o.PgTextOnImageSmall]:r.PgTextOnImageSmall,[o.PgTextOnImageMedium]:r.PgTextOnImageMedium,[o.PgTextOnImageLarge]:r.PgTextOnImageLarge,[o.PgGridIntermediate]:r.PgGridIntermediate,[o.List]:r.List,[o.PgCardMedium]:r.PgCardMedium},ne={[o.PgGrid]:o.PgGrid,[o.PgGridIntermediate]:o.PgGrid,[o.PgGridLarge]:o.PgGrid,[o.Slider]:o.Slider,[o.List]:o.List,[o.ListMedium]:o.List,[o.OneColumnMobile]:o.OneColumnMobile,[o.SideBySideMobile]:o.SideBySideMobile,[o.SideBySide]:o.SideBySideMobile,[o.ListLarge]:o.List,[o.PgSideBySide]:o.PgGrid,[o.PgSideBySideRight]:o.PgGrid,[o.PgTextOnImageMedium]:o.PgTextOnImageMedium,[o.PgTextOnImageSmall]:o.PgTextOnImageMedium,[o.PgTextOnImageLarge]:o.PgTextOnImageMedium,[o.PgOneColumn]:o.PgGrid,[o.PgCardMedium]:o.PgGrid},oe={[o.PgSideBySide]:r.PgSideBySide},re={...Q,...ee,...te,...oe},ie=(s.ti,s.vx,s.wj,s.CI,s.$Y,{[o.OneColumnMobile]:r.OneColumnMobile,[o.SideBySideMobile]:r.SideBySideMobile,[o.TextOnImageMobile]:r.TextOnImageMobile}),ae={[o.CardProfile]:r.CardProfile,[o.Mobile]:r.Mobile};o.PgGrid,o.PgGridIntermediate,o.PgGridLarge,o.PgCardMedium,o.PgOneColumn,o.Slider,o.List,o.ListMedium,o.ListLarge;var se;function le(e){return e?re[e]:void 0}!function(e){e[e.ImageLeft=0]="ImageLeft",e[e.ImageRight=1]="ImageRight",e[e.ImageNone=2]="ImageNone"}(se||(se={}));const ue=e=>re[e]||ie[e]||ae[e],ce=e=>[o.PgTextOnImageSmall,o.PgTextOnImageMedium,o.PgTextOnImageLarge,o.PgCardMedium,o.PgSideBySide,o.PgSideBySideRight,o.PgGrid,o.PgGridIntermediate,o.PgGridLarge,o.PgOneColumn,o.List,o.ListMedium,o.ListLarge,o.Slider].includes(Number(e)),de=e=>[r.PgTextOnImageSmall,r.PgTextOnImageMedium,r.PgTextOnImageLarge,r.PgCardMedium,r.PgSideBySide,r.PgSideBySideRight,r.PgGrid,r.PgOneColumn].includes(e),pe=e=>Number(e)===o.PgOneColumn,me=e=>Number(e)===o.PgSideBySide||Number(e)===o.PgSideBySideRight,he=e=>Number(e)===o.FullPost,ge=e=>(0,a.includes)([o.TextOnImageSmall,o.TextOnImageMedium,o.TextOnImageMobile,o.PgTextOnImageSmall,o.PgTextOnImageMedium,o.PgTextOnImageLarge],Number(e)),fe=e=>Number(e)===o.Slider,ve=e=>Number(e)===o.List||Number(e)===o.ListMedium||Number(e)===o.ListLarge,ye=e=>(0,a.includes)([o.Mobile,o.OneColumnMobile,o.SideBySideMobile,o.TextOnImageMobile],Number(e)),be=e=>(0,a.includes)(X,e),Ee=e=>(0,a.includes)([r.PgSideBySide,r.PgSideBySideRight],e),Ae=e=>e===r.PgOneColumn,Ce=e=>(0,a.includes)([r.List,r.ListMedium,r.ListLarge],e),Se=e=>(0,a.includes)([r.TextOnImageSmall,r.TextOnImageMedium,r.TextOnImageMobile,r.PgTextOnImageSmall,r.PgTextOnImageMedium,r.PgTextOnImageLarge],e);function we(e){return[o.CardLarge,o.FullPost,o.Grid,o.PgGridIntermediate,o.PgGridLarge,o.Mobile,o.SideBySide,o.TextOnImageMedium,o.TextOnImageSmall,o.OneColumnMobile,o.SideBySideMobile,o.TextOnImageMobile,o.PgTextOnImageSmall,o.PgTextOnImageMedium,o.PgTextOnImageLarge,o.PgSideBySide,o.PgSideBySideRight,o.PgGrid,o.PgOneColumn,o.List,o.ListMedium,o.ListLarge].includes(e)}},86513:(e,t,n)=>{"use strict";n.d(t,{Bh:()=>a,IM:()=>r,We:()=>i,ou:()=>o});const o="delete-post",r="share-post",i="share-link",a="demo-mode"},63770:(e,t,n)=>{"use strict";n.d(t,{au:()=>i,ix:()=>o,ml:()=>a,rz:()=>r,ti:()=>s});const o=20,r=24,i=5,a=3;var s;!function(e){e[e.InfiniteScroll=0]="InfiniteScroll",e[e.MultiplePages=1]="MultiplePages"}(s||(s={}))},33014:(e,t,n)=>{"use strict";n.d(t,{$X:()=>o,Gh:()=>a,Sf:()=>i,TI:()=>d,Tw:()=>r,YK:()=>s,YX:()=>c,w5:()=>u,yB:()=>l});const o="subscribe",r="edit",i="share",a="print",s="pin",l="toggle-comments",u="delete",c="duplicate",d=[o,r,i,a,s,"revert-to-draft",l,"report",u,"translate","change-language"]},82314:(e,t,n)=>{"use strict";n.d(t,{EB:()=>r,F$:()=>s,Oo:()=>i,P1:()=>u,Tw:()=>a,fR:()=>o,mz:()=>l});const o="PostListMasonry",r="PostListSimple",i="PostListMobile",a="PostListItem",s="SideBySideMobile",l="TextOnImageMobile",u="Post"},93396:(e,t,n)=>{"use strict";n.d(t,{Is:()=>i,R9:()=>o,TT:()=>r});const o=200,r=480,i={published:"published",unpublished:"unpublished",scheduled:"scheduled",deleted:"deleted",in_moderation:"in_moderation",in_review:"in_review"}},21504:(e,t,n)=>{"use strict";n.d(t,{DM:()=>S,E0:()=>f,KN:()=>K,LG:()=>m,MQ:()=>g,Mw:()=>J,Nr:()=>p,PE:()=>P,Qp:()=>b,X:()=>u,Zx:()=>d,dq:()=>l,eg:()=>c,hs:()=>E,ij:()=>A,jk:()=>N,kt:()=>w,n$:()=>ye,rE:()=>O,rM:()=>h,sr:()=>C,uO:()=>Z,vw:()=>y,z2:()=>v});var o=n(74740),r=n(3790);const i=2,a=3,s=6;var l,u;!function(e){e.Crop="0",e.Max="1"}(l||(l={})),function(e){e[e.Proportional=0]="Proportional",e[e.Fixed=1]="Fixed"}(u||(u={}));const c={MANUAL:0,AUTO:1};var d;!function(e){e[e.FitToScreen=0]="FitToScreen",e[e.ItemsPerRow=1]="ItemsPerRow"}(d||(d={}));const p="DEFAULT_PG_LAYOUT_IMAGE_RATIO",m="DEFAULT_PG_LAYOUT_ITEM_SIZE",h="DEFAULT_PG_LAYOUT_CARDS_ROW_TYPE",g="DEFAULT_PG_LAYOUT_POSTS_PER_ROW",f="DEFAULT_PG_LAYOUT_INFO_SIZE",v="DEFAULT_PG_LAYOUT_INFO_SIZE_TYPE",y="DEFAULT_PG_LAYOUT_SPACING",b="DEFAULT_PG_LAYOUT_SIDES_PADDING",E="DEFAULT_PG_LAYOUT_MARGINS",A="DEFAULT_PG_IMAGE_ALIGNMENT",C="DEFAULT_PG_IMAGE_PROPORTIONS",S="DEFAULT_PG_IMAGE_WIDTH",w="DEFAULT_PG_IMAGE_RESIZING_MODE",O="DEFAULT_PG_LAYOUT_IMAGE_CROP_TYPE",N="DEFAULT_PG_LAYOUT_TITLE_LINE_COUNT",P="DEFAULT_PG_LAYOUT_DESCRIPTION_LINE_COUNT",L="MIN_PG_LAYOUT_SPACNG",I="MIN_PG_LAYOUT_ITEM_SIZE",T="MIN_PG_LAYOUT_POSTS_PER_ROW",_="MIN_PG_LAYOUT_INFO_SIZE",x="MIN_PG_LAYOUT_SIDES_PADDING",D="MIN_PG_LAYOUT_MARGINS",k="MIN_PG_LAYOUT_TITLE_LINE_COUNT",R="MIN_PG_LAYOUT_DESCRIPTION_LINE_COUNT",M="MIN_PG_IMAGE_PROPORTIONS",B="MAX_PG_LAYOUT_ITEM_SIZE",F="MAX_PG_LAYOUT_POSTS_PER_ROW",U="MAX_PG_LAYOUT_INFO_SIZE",j="MAX_PG_LAYOUT_SPACNG",G="MAX_PG_LAYOUT_SIDES_PADDING",W="MAX_PG_LAYOUT_MARGINS",H="MAX_PG_LAYOUT_TITLE_LINE_COUNT",z="MAX_PG_LAYOUT_DESCRIPTION_LINE_COUNT",V="MAX_PG_IMAGE_PROPORTIONS",J="DEFAULT_PG_LAYOUT_SPACING_MOBILE",Z="DEFAULT_PG_LAYOUT_MARGINS_MOBILE",K="DEFAULT_PG_LAYOUT_IMAGE_RATIO_MOBILE",$={[L]:0,[I]:150,[T]:1,[x]:0,[D]:0,[k]:1,[j]:100,[B]:1e3,[F]:5,[G]:100,[W]:100,[H]:6,[p]:3,[m]:454,[h]:d.FitToScreen,[g]:3,[y]:32,[b]:30,[E]:20,[O]:0,[N]:3,[J]:20,[Z]:0,[K]:3},q={...$,[m]:292,[b]:24},Y={...$,[p]:1,[m]:1e3},X={[L]:0,[I]:150,[T]:1,[x]:0,[D]:0,[k]:1,[j]:100,[B]:1e3,[F]:5,[G]:100,[W]:100,[H]:6,[p]:a,[m]:454,[h]:d.ItemsPerRow,[g]:3,[y]:24,[b]:24,[E]:0,[O]:l.Crop,[N]:3,[J]:20,[Z]:0,[K]:3},Q={[L]:0,[I]:150,[T]:1,[_]:0,[x]:0,[D]:0,[k]:1,[R]:1,[j]:100,[B]:1e3,[F]:5,[U]:700,[G]:100,[W]:100,[H]:6,[z]:8,[m]:454,[h]:d.FitToScreen,[g]:3,[f]:350,[v]:c.MANUAL,[y]:32,[b]:30,[E]:20,[N]:3,[P]:3},ee={[I]:450,[L]:0,[x]:0,[D]:0,[M]:20,[k]:1,[R]:1,[B]:1200,[j]:100,[G]:100,[W]:100,[V]:60,[H]:6,[z]:8,[m]:1100,[y]:32,[b]:36,[E]:20,[C]:50,[w]:u.Proportional,[A]:2,[p]:2,[O]:0,[N]:3,[P]:3},te={...ee,[A]:1},ne={[m]:980,[y]:24,[b]:30,[E]:30,[S]:177,[w]:u.Fixed,[A]:2,[p]:3,[O]:0,[N]:2,[P]:0},oe={[I]:450,[L]:0,[x]:0,[D]:0,[M]:20,[k]:1,[R]:1,[B]:1200,[j]:100,[G]:100,[W]:100,[V]:60,[H]:6,[z]:8,[m]:1100,[y]:24,[b]:24,[E]:0,[C]:30,[w]:u.Proportional,[A]:2,[p]:i,[O]:l.Crop,[N]:3,[P]:3},re={[L]:0,[I]:150,[T]:1,[_]:0,[x]:0,[D]:0,[k]:1,[R]:1,[j]:100,[B]:1e3,[F]:5,[U]:700,[G]:100,[W]:100,[H]:6,[z]:8,[p]:2,[m]:292,[h]:d.FitToScreen,[g]:3,[f]:350,[v]:c.MANUAL,[y]:32,[b]:24,[E]:20,[O]:0,[N]:3,[P]:3,[J]:20,[Z]:0,[K]:2},ie={[L]:0,[I]:150,[T]:1,[_]:0,[x]:0,[D]:0,[k]:1,[R]:1,[j]:100,[B]:1e3,[F]:5,[U]:700,[G]:100,[W]:100,[H]:6,[z]:8,[p]:i,[m]:292,[h]:d.ItemsPerRow,[g]:3,[f]:350,[v]:c.AUTO,[y]:24,[b]:24,[E]:0,[O]:l.Crop,[N]:3,[P]:3,[J]:20,[Z]:0,[K]:2},ae={...re,[m]:454},se={...re,[p]:1,[m]:1e3},le={[L]:0,[x]:0,[D]:0,[_]:0,[k]:1,[R]:1,[j]:100,[G]:100,[W]:100,[U]:700,[H]:6,[z]:8,[y]:32,[b]:48,[E]:20,[p]:6,[f]:350,[v]:c.MANUAL,[N]:3,[P]:3},ue={[L]:0,[x]:0,[D]:0,[_]:0,[k]:1,[R]:1,[j]:100,[G]:100,[W]:100,[U]:700,[H]:6,[z]:8,[y]:24,[b]:24,[E]:0,[p]:s,[f]:350,[v]:c.AUTO,[N]:3,[P]:3},ce={[L]:0,[I]:150,[T]:1,[x]:0,[D]:0,[_]:0,[M]:20,[k]:1,[R]:1,[j]:100,[B]:1e3,[F]:5,[G]:100,[W]:100,[U]:300,[V]:80,[H]:6,[z]:8,[y]:12,[m]:292,[h]:d.FitToScreen,[g]:3,[f]:100,[b]:12,[E]:0,[p]:3,[C]:25,[w]:u.Proportional,[A]:1,[O]:0,[N]:3,[P]:3,[J]:20,[Z]:0,[K]:3},de={[L]:0,[I]:150,[T]:1,[x]:0,[D]:0,[_]:0,[M]:20,[k]:1,[R]:1,[j]:100,[B]:1e3,[F]:5,[G]:100,[W]:100,[U]:300,[V]:80,[H]:6,[z]:8,[y]:24,[m]:292,[h]:d.ItemsPerRow,[g]:3,[f]:100,[v]:c.MANUAL,[b]:12,[E]:0,[p]:a,[C]:25,[w]:u.Proportional,[A]:1,[O]:l.Crop,[N]:3,[P]:3,[J]:20,[Z]:0,[K]:3},pe={...ce,[m]:454,[f]:60,[E]:20,[y]:24,[A]:2,[b]:24},me={...ce,[m]:1e3,[f]:25,[E]:20,[y]:24,[A]:2,[b]:24},he={[y]:20,[m]:280,[h]:d.FitToScreen,[g]:1,[f]:60,[b]:12,[E]:0,[p]:3,[C]:32,[w]:u.Proportional,[A]:2,[O]:0,[N]:3},ge={[_]:0,[x]:0,[D]:0,[k]:1,[R]:1,[U]:700,[G]:48,[W]:100,[H]:6,[z]:8,[f]:230,[v]:c.MANUAL,[b]:24,[E]:0,[p]:1,[O]:0,[N]:3,[P]:3,[Z]:0,[K]:2},fe={[_]:0,[x]:0,[D]:0,[k]:1,[R]:1,[U]:700,[G]:48,[W]:100,[H]:6,[z]:8,[f]:230,[v]:c.AUTO,[b]:24,[E]:0,[p]:i,[O]:l.Crop,[N]:3,[P]:3,[Z]:0,[K]:2},ve={[o.bf]:{[r.ti]:q,[r.vx]:q,[r.wj]:q,[r.e8]:q,[r.CI]:q,[r.$Y]:q},[o.XH]:{[r.ti]:$,[r.vx]:$,[r.wj]:$,[r.e8]:$,[r.CI]:X,[r.$Y]:$},[o.nH]:{[r.ti]:Y,[r.vx]:Y,[r.wj]:Y,[r.e8]:Y,[r.CI]:Y,[r.$Y]:Y},[o.Em]:{[r.ti]:Q,[r.vx]:Q,[r.wj]:Q,[r.e8]:Q,[r.CI]:Q,[r.$Y]:Q},[o.Zv]:{[r.ti]:ee,[r.vx]:ee,[r.wj]:ee,[r.e8]:ee,[r.CI]:oe,[r.$Y]:ne},[o.yp]:{[r.ti]:te,[r.vx]:te,[r.wj]:te,[r.e8]:te,[r.CI]:te,[r.$Y]:ne},[o.ql]:{[r.ti]:re,[r.vx]:re,[r.wj]:re,[r.e8]:re,[r.CI]:ie,[r.$Y]:re},[o.Qc]:{[r.ti]:ae,[r.vx]:ae,[r.wj]:ae,[r.e8]:ae,[r.CI]:ae,[r.$Y]:ae},[o.qt]:{[r.ti]:se,[r.vx]:se,[r.wj]:se,[r.e8]:se,[r.CI]:se,[r.$Y]:se},[o.xA]:{[r.ti]:le,[r.vx]:le,[r.wj]:le,[r.e8]:le,[r.CI]:ue,[r.$Y]:le},[o._m]:{[r.ti]:ge,[r.vx]:ge,[r.wj]:ge,[r.e8]:ge,[r.CI]:fe,[r.$Y]:ge},[o.mA]:{[r.ti]:ce,[r.vx]:ce,[r.wj]:ce,[r.e8]:ce,[r.CI]:de,[r.$Y]:he},[o.s4]:{[r.ti]:pe,[r.vx]:pe,[r.wj]:pe,[r.e8]:pe,[r.CI]:pe,[r.$Y]:pe},[o.Ws]:{[r.ti]:me,[r.vx]:me,[r.wj]:me,[r.e8]:me,[r.CI]:me,[r.$Y]:me}},ye=(e,t,n=r.ti)=>{const o=ve[e]?.[n];return o?.[t]}},91158:(e,t,n)=>{"use strict";n.d(t,{J:()=>r,jF:()=>a,uK:()=>o,wY:()=>i});const o="categories",r="hashtags",i="archive",a="tags"},3790:(e,t,n)=>{"use strict";n.d(t,{$Y:()=>l,CI:()=>s,e8:()=>i,gY:()=>u,ti:()=>o,vx:()=>r,wj:()=>a});const o="homepage",r="category",i="tags",a="post-list",s="related-posts",l="my-posts",u=[o,r]},56152:(e,t,n)=>{"use strict";n.d(t,{Qm:()=>o,X1:()=>r,aI:()=>l,bS:()=>i,gm:()=>a,kc:()=>u,nJ:()=>s});const o="facebook",r="twitter",i="linked-in",a="link",s="print",l=[o,r,i,a],u={[o]:"share-button.via-facebook",[r]:"share-button.via-twitter",[i]:"share-button.via-linked-in",[a]:"share-button.via-link",[s]:"post-actions.print"}},30223:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});const o="PRIVATE"},31386:(e,t,n)=>{"use strict";n.d(t,{GM:()=>i,Mm:()=>o,vv:()=>r});const o="editor",r="preview",i="site"},8674:(e,t,n)=>{"use strict";n.d(t,{C8:()=>i,FT:()=>a,Kp:()=>c,dl:()=>u,gN:()=>r,kz:()=>s,lf:()=>l,ni:()=>o});const o="style.numbers.category-label-layoutType",r="style.numbers.category-label-mobile-layoutType",i={text:0,button:1},a={wixParam:"category-label-isMobileDesignSettingsEnabled",appSettingsPath:"style.booleans.category-label-isMobileDesignSettingsEnabled",defaultValue:!1},s={textFont:{wixParam:"category-label-text-textFont",appSettingsPath:"style.fonts.category-label-text-textFont",defaultSize:14,minSize:10,maxSize:24,defaultTheme:"font_8"},textColor:{wixParam:"category-label-text-textColor",appSettingsPath:"style.colors.category-label-text-textColor",defaultColor:"color-8"},textColorHover:{wixParam:"category-label-text-textColorHover",appSettingsPath:"style.colors.category-label-text-textColorHover",defaultColor:"color-8",defaultOpacity:.7},uppercase:{wixParam:"category-label-text-uppercase",appSettingsPath:"style.booleans.category-label-text-uppercase",defaultValue:!1}},l={textFont:{wixParam:"category-label-text-mobile-textFont",appSettingsPath:"style.fonts.category-label-text-mobile-textFont",defaultSize:14,minSize:10,maxSize:24,defaultTheme:"font_8"},textColor:{wixParam:"category-label-text-mobile-textColor",appSettingsPath:"style.colors.category-label-text-mobile-textColor",defaultColor:"color-8"},uppercase:{wixParam:"category-label-text-mobile-uppercase",appSettingsPath:"style.booleans.category-label-text-mobile-uppercase",defaultValue:!1}},u={verticalPadding:{wixParam:"category-label-button-verticalPadding",appSettingsPath:"style.numbers.category-label-button-verticalPadding",defaultPadding:6,minPadding:0,maxPadding:100},horizontalPadding:{wixParam:"category-label-button-horizontalPadding",appSettingsPath:"style.numbers.category-label-button-horizontalPadding",defaultPadding:12,minPadding:0,maxPadding:100},textFont:{wixParam:"category-label-button-textFont",appSettingsPath:"style.fonts.category-label-button-textFont",defaultSize:14,minSize:10,maxSize:24,defaultTheme:"font_8"},textColor:{wixParam:"category-label-button-textColor",appSettingsPath:"style.colors.category-label-button-textColor",defaultColor:"color-1"},uppercase:{wixParam:"category-label-button-uppercase",appSettingsPath:"style.booleans.category-label-button-uppercase",defaultValue:!1},backgroundColor:{wixParam:"category-label-button-backgroundColor",appSettingsPath:"style.colors.category-label-button-backgroundColor",defaultColor:"color-8",defaultOpacity:1},cornerRadius:{wixParam:"category-label-button-cornerRadius",appSettingsPath:"style.numbers.category-label-button-cornerRadius",defaultRadius:0,minRadius:0,maxRadius:100},borderColor:{wixParam:"category-label-button-borderColor",appSettingsPath:"style.colors.category-label-button-borderColor",defaultColor:"color-8",defaultOpacity:1},borderWidth:{wixParam:"category-label-button-borderWidth",appSettingsPath:"style.numbers.category-label-button-borderWidth",defaultWidth:0,minWidth:0,maxWidth:10},textColorHover:{wixParam:"category-label-button-textColorHover",appSettingsPath:"style.colors.category-label-button-textColorHover",defaultColor:"color-1",defaultOpacity:1},backgroundColorHover:{wixParam:"category-label-button-backgroundColorHover",appSettingsPath:"style.colors.category-label-button-backgroundColorHover",defaultColor:"color-8",defaultOpacity:.7},borderColorHover:{wixParam:"category-label-button-borderColorHover",appSettingsPath:"style.colors.category-label-button-borderColorHover",defaultColor:"color-8",defaultOpacity:.7}},c={verticalPadding:{wixParam:"category-label-button-mobile-verticalPadding",appSettingsPath:"style.numbers.category-label-button-mobile-verticalPadding",defaultPadding:6,minPadding:0,maxPadding:100},horizontalPadding:{wixParam:"category-label-button-mobile-horizontalPadding",appSettingsPath:"style.numbers.category-label-button-mobile-horizontalPadding",defaultPadding:12,minPadding:0,maxPadding:100},textFont:{wixParam:"category-label-button-mobile-textFont",appSettingsPath:"style.fonts.category-label-button-mobile-textFont",defaultSize:14,minSize:10,maxSize:24,defaultTheme:"font_8"},textColor:{wixParam:"category-label-button-mobile-textColor",appSettingsPath:"style.colors.category-label-button-mobile-textColor",defaultColor:"color-1"},uppercase:{wixParam:"category-label-button-mobile-uppercase",appSettingsPath:"style.booleans.category-label-button-mobile-uppercase",defaultValue:!1},backgroundColor:{wixParam:"category-label-button-mobile-backgroundColor",appSettingsPath:"style.colors.category-label-button-mobile-backgroundColor",defaultColor:"color-8",defaultOpacity:1},cornerRadius:{wixParam:"category-label-button-mobile-cornerRadius",appSettingsPath:"style.numbers.category-label-button-mobile-cornerRadius",defaultRadius:0,minRadius:0,maxRadius:100},borderColor:{wixParam:"category-label-button-mobile-borderColor",appSettingsPath:"style.colors.category-label-button-mobile-borderColor",defaultColor:"color-8",defaultOpacity:1},borderWidth:{wixParam:"category-label-button-mobile-borderWidth",appSettingsPath:"style.numbers.category-label-button-mobile-borderWidth",defaultWidth:0,minWidth:0,maxWidth:10}}},17617:(e,t,n)=>{"use strict";n.d(t,{$T:()=>s,$l:()=>c,$u:()=>m,BA:()=>u,CE:()=>we,CG:()=>Y,CX:()=>E,DA:()=>d,DF:()=>z,Dt:()=>V,EV:()=>ue,EZ:()=>se,Ei:()=>Se,Eo:()=>U,FG:()=>X,FX:()=>k,Gm:()=>oe,HA:()=>w,HQ:()=>R,IR:()=>T,It:()=>L,Jt:()=>r,Ll:()=>Ie,MA:()=>I,MT:()=>Ae,OB:()=>g,Oh:()=>be,Op:()=>Te,RL:()=>A,T3:()=>ce,Tv:()=>ee,Vi:()=>q,W4:()=>pe,WB:()=>C,Y:()=>te,Zy:()=>x,_b:()=>Ce,aR:()=>y,bD:()=>re,bG:()=>Le,bl:()=>fe,bp:()=>l,cX:()=>le,cc:()=>D,cz:()=>G,dJ:()=>M,dp:()=>v,eI:()=>Oe,eU:()=>b,fe:()=>H,g5:()=>ne,g7:()=>_e,gJ:()=>ie,h5:()=>ae,k7:()=>$,lJ:()=>he,ld:()=>Ee,mS:()=>a,mY:()=>F,nS:()=>S,no:()=>Pe,oR:()=>ge,pm:()=>de,rE:()=>h,rk:()=>B,ro:()=>P,sk:()=>j,sm:()=>K,uW:()=>ve,ub:()=>Z,ud:()=>Q,v:()=>N,w$:()=>Ne,w9:()=>ye,wP:()=>f,xS:()=>J,xg:()=>_,ye:()=>me,z:()=>p,zA:()=>W,zg:()=>O});var o,r,i=n(91354);!function(e){e[e.NameAndPicture=0]="NameAndPicture",e[e.Name=1]="Name"}(o||(o={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(r||(r={}));const a={"banner-isEnabled":{defaultValue:!1,key:"banner-isEnabled"},"blog-authorInfoType":{key:"blog-authorInfoType"},"blog-isAnonymousCommentsEnabled":{key:"blog-isAnonymousCommentsEnabled"},"blog-isAuthorBadgeEnabled":{key:"blog-isAuthorBadgeEnabled"},"blog-isAuthorNameEnabled":{key:"blog-isAuthorNameEnabled"},"blog-isAuthorPictureEnabled":{key:"blog-isAuthorPictureEnabled"},"blog-isCategoryLabelEnabled":{key:"blog-isCategoryLabelEnabled"},"blog-isCategoryLabelsEnabled":{key:"blog-isCategoryLabelsEnabled"},"blog-isCommentCountEnabled":{key:"blog-isCommentCountEnabled"},"blog-isCommentsEnabled":{key:"blog-isCommentsEnabled"},"blog-isCoverImageEnabled":{key:"blog-isCoverImageEnabled"},"blog-isLikeCountEnabled":{key:"blog-isLikeCountEnabled"},"blog-isMoreOptionsMenuEnabled":{key:"blog-isMoreOptionsMenuEnabled"},"blog-isPostDateEnabled":{key:"blog-isPostDateEnabled"},"blog-isPostDescriptionEnabled":{key:"blog-isPostDescriptionEnabled"},"blog-isPostListFullWidthEnabled":{key:"blog-isPostListFullWidthEnabled"},"blog-isPostPublishDateEnabled":{key:"blog-isPostPublishDateEnabled"},"blog-isPostRatingEnabled":{key:"blog-isPostRatingEnabled"},"blog-isPostTitleEnabled":{key:"blog-isPostTitleEnabled"},"blog-isPostUpdatedDateEnabled":{key:"blog-isPostUpdatedDateEnabled"},"blog-isReadingTimeEnabled":{key:"blog-isReadingTimeEnabled"},"blog-isRecentPostsEnabled":{key:"blog-isRecentPostsEnabled"},"blog-isTagsEnabled":{key:"blog-isTagsEnabled"},"blog-isViewCountEnabled":{key:"blog-isViewCountEnabled"},"blog-mobile-authorInfoType":{key:"blog-mobile-authorInfoType"},"blog-mobile-isAuthorBadgeEnabled":{key:"blog-mobile-isAuthorBadgeEnabled"},"blog-mobile-isAuthorNameEnabled":{key:"blog-mobile-isAuthorNameEnabled"},"blog-mobile-isAuthorPictureEnabled":{key:"blog-mobile-isAuthorPictureEnabled"},"blog-mobile-isCategoryLabelEnabled":{key:"blog-mobile-isCategoryLabelEnabled"},"blog-mobile-isCategoryLabelsEnabled":{key:"blog-mobile-isCategoryLabelsEnabled"},"blog-mobile-isCommentCountEnabled":{key:"blog-mobile-isCommentCountEnabled"},"blog-mobile-isCommentsEnabled":{key:"blog-mobile-isCommentsEnabled"},"blog-mobile-isCoverImageEnabled":{key:"blog-mobile-isCoverImageEnabled"},"blog-mobile-isLikeCountEnabled":{key:"blog-mobile-isLikeCountEnabled"},"blog-mobile-isMobileDisplaySettingsEnabled":{key:"blog-mobile-isMobileDisplaySettingsEnabled"},"blog-mobile-isMoreOptionsMenuEnabled":{key:"blog-mobile-isMoreOptionsMenuEnabled"},"blog-mobile-isPostDateEnabled":{key:"blog-mobile-isPostDateEnabled"},"blog-mobile-isPostDescriptionEnabled":{key:"blog-mobile-isPostDescriptionEnabled"},"blog-mobile-isPostPublishDateEnabled":{key:"blog-mobile-isPostPublishDateEnabled"},"blog-mobile-isPostRatingEnabled":{key:"blog-mobile-isPostRatingEnabled"},"blog-mobile-isPostTitleEnabled":{key:"blog-mobile-isPostTitleEnabled"},"blog-mobile-isPostUpdatedDateEnabled":{key:"blog-mobile-isPostUpdatedDateEnabled"},"blog-mobile-isReadingTimeEnabled":{key:"blog-mobile-isReadingTimeEnabled"},"blog-mobile-isRecentPostsEnabled":{key:"blog-mobile-isRecentPostsEnabled"},"blog-mobile-isTagsEnabled":{key:"blog-mobile-isTagsEnabled"},"blog-mobile-isViewCountEnabled":{key:"blog-mobile-isViewCountEnabled"},"blogMenu-isCategoryLabelsEnabled":{key:"blogMenu-isCategoryLabelsEnabled"},"blogMenu-isEnabled":{key:"blogMenu-isEnabled"},"blogMenu-isSearchEnabled":{key:"blogMenu-isSearchEnabled"},"blogMenu-mobile-isCategoryLabelsEnabled":{key:"blogMenu-mobile-isCategoryLabelsEnabled"},"blogMenu-mobile-isEnabled":{key:"blogMenu-mobile-isEnabled"},"blogMenu-mobile-isLoginButtonEnabled":{key:"blogMenu-mobile-isLoginButtonEnabled"},"blogMenu-mobile-isSearchEnabled":{key:"blogMenu-mobile-isSearchEnabled"},"categoryHeader-isEnabled":{key:"categoryHeader-isEnabled"},contentAlignment:{defaultValue:r.Left,key:"contentAlignment"},contentAlignmentMobile:{defaultValue:r.Left,key:"contentAlignmentMobile"},feedBackgroundColor:{defaultOpacity:0,defaultValue:"color-5",key:"feedBackgroundColor"},feedSliderArrowsColor:{defaultValue:"color-5",key:"feedSliderArrowsColor"},feedSliderArrowsPosition:{defaultValue:i.B9.OnGallery,key:"feedSliderArrowsPosition",options:i.OU},feedSliderArrowsSize:{defaultValue:18,key:"feedSliderArrowsSize",maxValue:180,minValue:6},feedSliderAutoSlide:{defaultValue:!1,key:"feedSliderAutoSlide"},feedSliderLoop:{defaultValue:!1,key:"feedSliderLoop"},feedSliderPauseTime:{defaultValue:4,key:"feedSliderPauseTime",maxValue:10,minValue:1},feedSliderShowArrows:{defaultValue:!0,key:"feedSliderShowArrows"},"navigation-backgroundColor":{defaultValue:"rgba(255,255,255,1)",key:"navigation-backgroundColor"},"navigation-textColor":{key:"navigation-textColor"},"navigation-textColorActive":{key:"navigation-textColorActive"},"pinterest-isEnabled":{key:"pinterest-isEnabled"},"socialSharing-isEnabled":{key:"socialSharing-isEnabled"},"socialSharing-mobile-isEnabled":{key:"socialSharing-mobile-isEnabled"},"twitter-isEnabled":{key:"twitter-isEnabled"},"widget-isLoginButtonEnabled":{key:"widget-isLoginButtonEnabled"}},s="blog-isViewCountEnabled",l=`style.booleans.${s}`,u="blog-isCommentCountEnabled",c=`style.booleans.${u}`,d="blog-isLikeCountEnabled",p=`style.booleans.${d}`,m="blog-isAuthorNameEnabled",h=`style.booleans.${m}`,g="blog-isAuthorPictureEnabled",f=`style.booleans.${g}`,v="blog-isAuthorBadgeEnabled",y=`style.booleans.${v}`,b="blog-authorInfoType",E=`style.numbers.${b}`,A=0,C=1,S="blog-isPostDateEnabled",w=`style.booleans.${S}`,O="blog-isPostUpdatedDateEnabled",N=`style.booleans.${O}`,P="style.booleans.blog-isRecentPostsEnabled",L="style.booleans.blog-isCommentsEnabled",I="blog-isCategoryLabelsEnabled",T=`style.booleans.${I}`,_="blog-isTagsEnabled",x=`style.booleans.${_}`,D="style.booleans.blog-mobile-isTagsEnabled",k="blog-isPostTitleEnabled",R=`style.booleans.${k}`,M="blog-isPostPublishDateEnabled",B=`style.booleans.${M}`,F="blog-isReadingTimeEnabled",U=`style.booleans.${F}`,j="blog-isMoreOptionsMenuEnabled",G=`style.booleans.${j}`,W="blog-isPostDescriptionEnabled",H=`style.booleans.${W}`,z="blog-isCoverImageEnabled",V="blog-isCategoryLabelEnabled",J=`style.booleans.${V}`,Z="style.booleans.blog-mobile-isCategoryLabelEnabled",K="blog-isPostRatingEnabled",$=`style.booleans.${K}`,q="style.booleans.blog-mobile-isPostRatingEnabled",Y="style.booleans.blog-isPostListFullWidthEnabled",X="style.booleans.blog-mobile-isMobileDisplaySettingsEnabled",Q="style.booleans.blog-mobile-isViewCountEnabled",ee="style.booleans.blog-mobile-isMoreOptionsMenuEnabled",te="style.booleans.blog-mobile-isCommentCountEnabled",ne="style.booleans.blog-mobile-isLikeCountEnabled",oe="style.booleans.blog-mobile-isAuthorNameEnabled",re="style.booleans.blog-mobile-isAuthorPictureEnabled",ie="style.booleans.blog-mobile-isAuthorBadgeEnabled",ae="style.numbers.blog-mobile-authorInfoType",se="style.booleans.blog-mobile-isPostDateEnabled",le="style.booleans.blog-mobile-isPostUpdatedDateEnabled",ue="style.booleans.blog-mobile-isRecentPostsEnabled",ce="style.booleans.blog-mobile-isCommentsEnabled",de="style.booleans.blog-mobile-isCategoryLabelsEnabled",pe="style.booleans.blog-mobile-isPostTitleEnabled",me="style.booleans.blog-mobile-isPostPublishDateEnabled",he="style.booleans.blog-mobile-isReadingTimeEnabled",ge="style.booleans.blog-mobile-isPostDescriptionEnabled",fe="style.booleans.blogMenu-mobile-isEnabled",ve="style.booleans.blogMenu-mobile-isCategoryLabelsEnabled",ye="style.booleans.blogMenu-mobile-isSearchEnabled",be="style.booleans.blogMenu-mobile-isLoginButtonEnabled",Ee="style.booleans.socialSharing-mobile-isEnabled",Ae="style.booleans.pinterest-isEnabled",Ce="style.booleans.twitter-isEnabled",Se="style.booleans.categoryHeader-isEnabled",we="style.booleans.banner-isEnabled",Oe=!1,Ne="style.booleans.blogMenu-isEnabled",Pe="style.booleans.blogMenu-isCategoryLabelsEnabled",Le="style.booleans.blogMenu-isSearchEnabled",Ie="style.booleans.widget-isLoginButtonEnabled",Te="style.booleans.socialSharing-isEnabled",_e=(e,t=!1)=>`style.booleans.${((e,t=!1)=>`socialSharing-${t?"mobile-":""}${e}`)(e,t)}`},91053:(e,t,n)=>{"use strict";n.d(t,{B_:()=>W,L1:()=>B,Mv:()=>k,RT:()=>M,S7:()=>P,Ut:()=>O,XD:()=>I,Xv:()=>_,c5:()=>j,cr:()=>U,kt:()=>i,mC:()=>D,mn:()=>R,no:()=>r,od:()=>N,qZ:()=>a,ql:()=>F,uN:()=>x,xe:()=>L,zf:()=>T});n(16252);var o=n(74740);const r="style.booleans.blog-mobile-isMobileLayoutSettingsEnabled",i="style.booleans.blog-postDesignInFullpostEnabled",a=(e,t=!1)=>`style.numbers.${((e,t=!1)=>((e,t,n)=>`layout-${n?"mobile-":""}${e}-${"layoutType"}`)(e,0,t))(e,t)}`;function s(e){return function(t,n,o=!1){return`layout-${o?"mobile-":""}${t}-${n}-${e}`}}const l=e=>(t,n,o=!1)=>`style.numbers.${e(t,n,o)}`,u=s("layoutSpacing"),c=s("layoutPostSize"),d=s("layoutCardsRowType"),p=s("layoutPostsPerRow"),m=s("contentHeight"),h=s("contentHeightType"),g=s("margins"),f=s("titleLineCount"),v=s("descriptionLineCount"),y=s("sidesPadding"),b=s("imageRatio"),E=s("imageAlignment"),A=s("imageProportions"),C=s("imageCropType"),S=s("imageResizingMode"),w=s("imageWidth"),O=l(u),N=l(c),P=l(d),L=l(p),I=l(b),T=l(m),_=l(h),x=l(g),D=l(f),k=l(v),R=l(y),M=l(E),B=l(A),F=l(C),U=l(S),j=l(w),G=(e=!1)=>({startWithColor:e?"#FFFFFF":"color-5",startWithTheme:"font_8",fontMinSize:12,fontMaxSize:24,startWithSize:14}),W=(o.ML,G(),o.Nk,G(),o.h5,G(!0),o.Ul,G(),o.As,G(),o.LO,G(!0),o.sC,G(),o.yK,G(),o.QC,G(),o.G_,G(),o.a1,G(),o.bf,G(!0),o.XH,G(!0),o.nH,G(!0),o.Em,G(),o.Zv,G(),o.yp,G(),o.ql,G(),o.Qc,G(),o.qt,G(),o.xA,G(),o.mA,G(),o.s4,G(),o.Ws,G(),o._m,G(),o.Zv,G(),e=>`style.numbers.${(e=>`blog-sideBySideLayoutImagePosition-${e}`)(e)}`)},78425:(e,t,n)=>{"use strict";n.d(t,{bZ:()=>o,nn:()=>r});const o=`page-${n(3790).$Y}-borderWidth`,r=0},16679:(e,t,n)=>{"use strict";n.d(t,{HP:()=>a,VD:()=>i});var o=n(3790);const r=(e,t)=>`pagination-${e}-${t}`,i=(e=o.ti)=>`style.numbers.${((e=o.ti)=>r(e,"type"))(e)}`,a=(e=o.ti)=>`style.numbers.${((e=o.ti)=>r(e,"pageSize"))(e)}`},91354:(e,t,n)=>{"use strict";n.d(t,{B9:()=>a,K8:()=>d,OU:()=>s,Tz:()=>m,aG:()=>p,el:()=>g,fE:()=>v,iU:()=>f,rS:()=>c,rh:()=>h});var o=n(74740),r=n(21504);o.wO,o.ql,r.Zx.FitToScreen;var i,a;!function(e){e.NumberOfPosts="0",e.Paginated="1"}(i||(i={})),function(e){e[e.OnGallery=0]="OnGallery",e[e.OutsideGallery=1]="OutsideGallery"}(a||(a={}));const s=e=>[{value:a.OnGallery,label:e("post-list-widget.layout-tab.slider-arrows-position-on-post")},{value:a.OutsideGallery,label:e("post-list-widget.layout-tab.slider-arrows-position-outside-post")}];i.NumberOfPosts,a.OnGallery,a.OnGallery,i.NumberOfPosts,i.NumberOfPosts,i.Paginated;var l,u;!function(e){e[e.Related=0]="Related",e[e.Recent=1]="Recent"}(l||(l={})),function(e){e[e.Text=0]="Text",e[e.Button=1]="Button"}(u||(u={}));l.Related,l.Related,u.Text,a.OnGallery,a.OnGallery;const c="style.booleans.blog-isRelatedPostsEnabled",d="style.booleans.blog-mobile-isRelatedPostsEnabled",p="style.booleans.blog-isRelatedPostsLabelEnabled",m="style.booleans.blog-mobile-isRelatedPostsLabelEnabled",h="style.numbers.relatedPostsLabel",g="style.numbers.mobile-relatedPostsLabel",f={related:0,recent:1},v={0:"related-posts.title",1:"recent-posts.title"};f.related},67957:(e,t,n)=>{"use strict";n.d(t,{A:()=>f,AA:()=>u,Ad:()=>O,Cx:()=>M,DA:()=>I,E4:()=>d,FK:()=>h,HH:()=>G,LL:()=>y,N0:()=>j,Ny:()=>V,R2:()=>N,S$:()=>x,Vk:()=>E,WT:()=>T,WX:()=>D,X$:()=>b,XJ:()=>p,Xc:()=>S,Yu:()=>C,_K:()=>g,bE:()=>B,h5:()=>U,hW:()=>Z,iI:()=>P,jL:()=>J,jc:()=>c,k3:()=>K,kE:()=>z,kl:()=>s,lu:()=>w,m:()=>A,p6:()=>m,qD:()=>k,qT:()=>_,r5:()=>H,rO:()=>i,sq:()=>l,uh:()=>R,vj:()=>F,wz:()=>L,z5:()=>W});var o=n(16252),r=n(74740);const i="style.booleans.blog-mobile-isMobileDesignSettingsEnabled",a="titleFontSize",s="style.booleans.blog-isFeedDesignPropsMigrated",l="style.booleans.blog-isConfigurableLineClampingEnabled",u="post-titleColor",c="post-textColor",d="post-titleFont",p="post-pageFont",m=`style.fonts.${p}`,h=`style.numbers.${`post-mobile-${a}`}`,g="style.numbers.post-mobile-pageFontSize",f=(...e)=>`post-${e.filter(o.identity).join("-")}`,v=(e,t,n,o=!1)=>f((0,r.Sv)(e),t,o?"mobile":"",n),y=(e,t,n)=>v(e,t,a,n),b=(e,t,n)=>v(e,t,"descriptionFontSize",n),E=(...e)=>`style.numbers.${v(...e)}`,A=(e,t)=>`style.fonts.${f(e,t)}`,C=(...e)=>`style.numbers.${((e,t)=>`post-${(0,r.Sv)(e)}-${t}-cardBorderWidth`)(...e)}`,S=e=>`style.colors.${(e=>`post-${e}-borderColor`)(e)}`,w=e=>`style.colors.${(e=>`post-${e}-mobile-borderColor`)(e)}`,O="post-cardBackgroundColor",N="style.numbers.post-cardBorderWidth",P="post-headerTwoFont",L="post-headerTwoColor",I="post-headerThreeFont",T="post-headerThreeColor",_="post-headerFourFont",x="post-headerFourColor",D="post-headerFiveFont",k="post-headerFiveColor",R="post-headerSixFont",M="post-headerSixColor",B="post-quotesFont",F="post-quotesColor",U="style.numbers.post-mobile-headerTwoFontSize",j="style.numbers.post-mobile-headerThreeFontSize",G="style.numbers.post-mobile-headerFourFontSize",W="style.numbers.post-mobile-headerFiveFontSize",H="style.numbers.post-mobile-headerSixFontSize",z="style.numbers.post-mobile-quotesFontSize",V="style.booleans.post-isAdvancedDesignOptionsEnabled",J="button-color",Z="button-textColor",K="blog-linkHashtagColor"},49457:(e,t,n)=>{"use strict";n.d(t,{AD:()=>g,JQ:()=>l,TN:()=>o,dz:()=>f,gt:()=>r,hE:()=>i,k$:()=>s,nT:()=>a,vZ:()=>h,vh:()=>m});const o="style.booleans.post-isTagLabelEnabled",r="style.numbers.tagLayout",i="style.numbers.tagLayoutMobile";var a,s,l;!function(e){e[e.Button=0]="Button",e[e.Text=1]="Text"}(a||(a={})),function(e){e[e.Left=0]="Left",e[e.Center=1]="Center",e[e.Right=2]="Right"}(s||(s={})),function(e){e[e.MostUsed=0]="MostUsed",e[e.Alphabetical=1]="Alphabetical"}(l||(l={}));const u={tagAlignment:{wixParam:"tags-buttonTag-alignment",appSettingsPath:"style.numbers.tags-buttonTag-alignment",defaultAlignment:s.Left},verticalPadding:{wixParam:"tags-buttonTag-verticalPadding",appSettingsPath:"style.numbers.tags-buttonTag-verticalPadding",defaultPadding:6,minPadding:0,maxPadding:100},horizontalPadding:{wixParam:"tags-buttonTag-horizontalPadding",appSettingsPath:"style.numbers.tags-buttonTag-horizontalPadding",defaultPadding:12,minPadding:0,maxPadding:100},verticalSpacing:{wixParam:"tags-buttonTag-verticalSpacing",appSettingsPath:"style.numbers.tags-buttonTag-verticalSpacing",defaultSpacing:8,minSpacing:0,maxSpacing:100},horizontalSpacing:{wixParam:"tags-buttonTag-horizontalSpacing",appSettingsPath:"style.numbers.tags-buttonTag-horizontalSpacing",defaultSpacing:8,minSpacing:0,maxSpacing:100}},c={tagAlignment:{wixParam:"tags-mobile-buttonTag-alignment",appSettingsPath:"style.numbers.tags-mobile-buttonTag-alignment",defaultAlignment:s.Left},verticalPadding:{wixParam:"tags-mobile-buttonTag-verticalPadding",appSettingsPath:"style.numbers.tags-mobile-buttonTag-verticalPadding",defaultPadding:6,minPadding:0,maxPadding:100},horizontalPadding:{wixParam:"tags-mobile-buttonTag-horizontalPadding",appSettingsPath:"style.numbers.tags-mobile-buttonTag-horizontalPadding",defaultPadding:12,minPadding:0,maxPadding:100},verticalSpacing:{wixParam:"tags-mobile-buttonTag-verticalSpacing",appSettingsPath:"style.numbers.tags-mobile-buttonTag-verticalSpacing",defaultSpacing:8,minSpacing:0,maxSpacing:100},horizontalSpacing:{wixParam:"tags-mobile-buttonTag-horizontalSpacing",appSettingsPath:"style.numbers.tags-mobile-buttonTag-horizontalSpacing",defaultSpacing:8,minSpacing:0,maxSpacing:100}},d={tagAlignment:{wixParam:"tags-textTag-alignment",appSettingsPath:"style.numbers.tags-textTag-alignment",defaultAlignment:s.Left},verticalSpacing:{wixParam:"tags-textTag-verticalSpacing",appSettingsPath:"style.numbers.tags-textTag-verticalSpacing",defaultSpacing:12,minSpacing:0,maxSpacing:100},horizontalSpacing:{wixParam:"tags-textTag-horizontalSpacing",appSettingsPath:"style.numbers.tags-textTag-horizontalSpacing",defaultSpacing:12,minSpacing:0,maxSpacing:100}},p={tagAlignment:{wixParam:"tags-mobile-textTag-alignment",appSettingsPath:"style.numbers.tags-mobile-textTag-alignment",defaultAlignment:s.Left},verticalSpacing:{wixParam:"tags-mobile-textTag-verticalSpacing",appSettingsPath:"style.numbers.tags-mobile-textTag-verticalSpacing",defaultSpacing:12,minSpacing:0,maxSpacing:100},horizontalSpacing:{wixParam:"tags-mobile-textTag-horizontalSpacing",appSettingsPath:"style.numbers.tags-mobile-textTag-horizontalSpacing",defaultSpacing:12,minSpacing:0,maxSpacing:100}},m=(e,t=!1)=>({[a.Button]:t?c:u,[a.Text]:t?p:d}[e]),h={showPostCount:{wixParam:"tags-showPostCount",appSettingsPath:"style.booleans.tags-showPostCount",defaultValue:!1},orderTags:{wixParam:"tags-orderTags",appSettingsPath:"style.numbers.tags-orderTags",defaultValue:l.MostUsed},numberOfTags:{wixParam:"tags-numberOfTags",appSettingsPath:"style.numbers.tags-numberOfTags",defaultValue:75,minValue:1,maxValue:500}},g={showPostCount:{wixParam:"tags-mobile-showPostCount",appSettingsPath:"style.booleans.tags-mobile-showPostCount",defaultValue:!1},orderTags:{wixParam:"tags-mobile-orderTags",appSettingsPath:"style.numbers.tags-mobile-orderTags",defaultValue:l.MostUsed},numberOfTags:{wixParam:"tags-mobile-numberOfTags",appSettingsPath:"style.numbers.tags-mobile-numberOfTags",defaultValue:75,minValue:1,maxValue:100}},f={isMobileDisplaySettingsEnabled:{wixParam:"tags-mobile-isDisplaySettingsEnabled",appSettingsPath:"style.booleans.tags-mobile-isDisplaySettingsEnabled",defaultValue:!1},isMobileDesignSettingsEnabled:{wixParam:"tags-mobile-isDesignSettingsEnabled",appSettingsPath:"style.booleans.tags-mobile-isDesignSettingsEnabled",defaultValue:!1},isMobileLayoutSettingsEnabled:{wixParam:"tags-mobile-isLayoutSettingsEnabled",appSettingsPath:"style.booleans.tags-mobile-isLayoutSettingsEnabled",defaultValue:!1}}},45592:(e,t,n)=>{"use strict";function o(e){throw new Error(e)}n.d(t,{x:()=>o})},3084:(e,t,n)=>{"use strict";n.d(t,{A:()=>O});var o=n(35904);function r(e,t){var n=arguments.length>=1;if(!(this instanceof r))return n?arguments.length>=2?new r(e,t):new r(e):new r;if(void 0===e){if(n)throw new TypeError("undefined is not a valid argument for URI");e="undefined"!=typeof location?location.href+"":""}if(null===e&&n)throw new TypeError("null is not a valid argument for URI");return this.href(e),void 0!==t?this.absoluteTo(t):this}r.version="1.19.2";var i=r.prototype,a=Object.prototype.hasOwnProperty;function s(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function l(e){return void 0===e?"Undefined":String(Object.prototype.toString.call(e)).slice(8,-1)}function u(e){return"Array"===l(e)}function c(e,t){var n,o,r={};if("RegExp"===l(t))r=null;else if(u(t))for(n=0,o=t.length;n]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u2018\u2019]))/gi,r.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?\xab\xbb\u201c\u201d\u201e\u2018\u2019]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},r.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},r.hostProtocols=["http","https"],r.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,r.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},r.getDomAttribute=function(e){if(e&&e.nodeName){var t=e.nodeName.toLowerCase();if("input"!==t||"image"===e.type)return r.domAttributes[t]}},r.encode=g,r.decode=decodeURIComponent,r.unicode=function(){r.encode=g,r.decode=decodeURIComponent},r.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/gi,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/gi,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/gi,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},r.encodeQuery=function(e,t){var n=r.encode(e+"");return void 0===t&&(t=r.escapeQuerySpace),t?n.replace(/%20/g,"+"):n},r.decodeQuery=function(e,t){e+="",void 0===t&&(t=r.escapeQuerySpace);try{return r.decode(t?e.replace(/\+/g,"%20"):e)}catch(t){return e}};var f,v={encode:"encode",decode:"decode"},y=function(e,t){return function(n){try{return r[t](n+"").replace(r.characters[e][t].expression,(function(n){return r.characters[e][t].map[n]}))}catch(e){return n}}};for(f in v)r[f+"PathSegment"]=y("pathname",v[f]),r[f+"UrnPathSegment"]=y("urnpath",v[f]);var b=function(e,t,n){return function(o){var i;i=n?function(e){return r[t](r[n](e))}:r[t];for(var a=(o+"").split(e),s=0,l=a.length;s-1&&(t.fragment=e.substring(n+1)||null,e=e.substring(0,n)),(n=e.indexOf("?"))>-1&&(t.query=e.substring(n+1)||null,e=e.substring(0,n)),"//"===e.substring(0,2)?(t.protocol=null,e=e.substring(2),e=r.parseAuthority(e,t)):(n=e.indexOf(":"))>-1&&(t.protocol=e.substring(0,n)||null,t.protocol&&!t.protocol.match(r.protocol_expression)?t.protocol=void 0:"//"===e.substring(n+1,n+3)?(e=e.substring(n+3),e=r.parseAuthority(e,t)):(e=e.substring(n+1),t.urn=!0)),t.path=e,t},r.parseHost=function(e,t){e||(e="");var n,o,i=(e=e.replace(/\\/g,"/")).indexOf("/");if(-1===i&&(i=e.length),"["===e.charAt(0))n=e.indexOf("]"),t.hostname=e.substring(1,n)||null,t.port=e.substring(n+2,i)||null,"/"===t.port&&(t.port=null);else{var a=e.indexOf(":"),s=e.indexOf("/"),l=e.indexOf(":",a+1);-1!==l&&(-1===s||l-1?o:e.length-1);return i>-1&&(-1===o||i0&&t<65536))throw new TypeError('Port "'+e+'" is not a valid port')}},i.build=function(e){return!0===e?this._deferred_build=!0:(void 0===e||this._deferred_build)&&(this._string=r.build(this._parts),this._deferred_build=!1),this},i.clone=function(){return new r(this)},i.valueOf=i.toString=function(){return this.build(!1)._string},i.protocol=E("protocol"),i.username=E("username"),i.password=E("password"),i.hostname=E("hostname"),i.port=E("port"),i.query=A("query","?"),i.fragment=A("fragment","#"),i.search=function(e,t){var n=this.query(e,t);return"string"==typeof n&&n.length?"?"+n:n},i.hash=function(e,t){var n=this.fragment(e,t);return"string"==typeof n&&n.length?"#"+n:n},i.pathname=function(e,t){if(void 0===e||!0===e){var n=this._parts.path||(this._parts.hostname?"/":"");return e?(this._parts.urn?r.decodeUrnPath:r.decodePath)(n):n}return this._parts.urn?this._parts.path=e?r.recodeUrnPath(e):"":this._parts.path=e?r.recodePath(e):"/",this.build(!t),this},i.path=i.pathname,i.href=function(e,t){var n;if(void 0===e)return this.toString();this._string="",this._parts=r._parts();var o=e instanceof r,i="object"==typeof e&&(e.hostname||e.path||e.pathname);e.nodeName&&(e=e[r.getDomAttribute(e)]||"",i=!1);if(!o&&i&&void 0!==e.pathname&&(e=e.toString()),"string"==typeof e||e instanceof String)this._parts=r.parse(String(e),this._parts);else{if(!o&&!i)throw new TypeError("invalid input");var s=o?e._parts:e;for(n in s)"query"!==n&&a.call(this._parts,n)&&(this._parts[n]=s[n]);s.query&&this.query(s.query,!1)}return this.build(!t),this},i.is=function(e){var t=!1,n=!1,o=!1,i=!1,a=!1,s=!1,l=!this._parts.urn;switch(this._parts.hostname&&(l=!1,a=(i=!(t=(n=r.ip4_expression.test(this._parts.hostname))||o))&&r.idn_expression.test(this._parts.hostname),s=i&&r.punycode_expression.test(this._parts.hostname)),e.toLowerCase()){case"relative":return l;case"absolute":return!l;case"domain":case"name":return i;case"sld":return!1;case"ip":return t;case"ip4":case"ipv4":case"inet4":return n;case"ip6":case"ipv6":case"inet6":return o;case"idn":return a;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return s}return null};var C=i.protocol,S=(i.port,i.hostname);i.protocol=function(e,t){if(e&&!(e=e.replace(/:(\/\/)?$/,"")).match(r.protocol_expression))throw new TypeError('Protocol "'+e+"\" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]");return C.call(this,e,t)},i.scheme=i.protocol,i.hostname=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0!==e){var n={preventInvalidHostname:this._parts.preventInvalidHostname};if("/"!==r.parseHost(e,n))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');e=n.hostname,this._parts.preventInvalidHostname&&r.ensureValidHostname(e,this._parts.protocol)}return S.call(this,e,t)},i.origin=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e){var n=this.protocol();return this.authority()?(n?n+"://":"")+this.authority():""}var o=r(e);return this.protocol(o.protocol()).authority(o.authority()).build(!t),this},i.host=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?r.buildHost(this._parts):"";if("/"!==r.parseHost(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},i.authority=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e)return this._parts.hostname?r.buildAuthority(this._parts):"";if("/"!==r.parseAuthority(e,this._parts))throw new TypeError('Hostname "'+e+'" contains characters other than [A-Z0-9.-]');return this.build(!t),this},i.directory=function(e,t){if(this._parts.urn)return void 0===e?"":this;if(void 0===e||!0===e){if(!this._parts.path&&!this._parts.hostname)return"";if("/"===this._parts.path)return"/";var n=this._parts.path.length-this.filename().length-1,o=this._parts.path.substring(0,n)||(this._parts.hostname?"/":"");return e?r.decodePath(o):o}var i=this._parts.path.length-this.filename().length,a=this._parts.path.substring(0,i),l=new RegExp("^"+s(a));return this.is("relative")||(e||(e="/"),"/"!==e.charAt(0)&&(e="/"+e)),e&&"/"!==e.charAt(e.length-1)&&(e+="/"),e=r.recodePath(e),this._parts.path=this._parts.path.replace(l,e),this.build(!t),this},i.filename=function(e,t){if(this._parts.urn)return void 0===e?"":this;if("string"!=typeof e){if(!this._parts.path||"/"===this._parts.path)return"";var n=this._parts.path.lastIndexOf("/"),o=this._parts.path.substring(n+1);return e?r.decodePathSegment(o):o}var i=!1;"/"===e.charAt(0)&&(e=e.substring(1)),e.match(/\.?\//)&&(i=!0);var a=new RegExp(s(this.filename())+"$");return e=r.recodePath(e),this._parts.path=this._parts.path.replace(a,e),i?this.normalizePath(t):this.build(!t),this},i.segment=function(e,t,n){var o=this._parts.urn?":":"/",r=this.path(),i="/"===r.substring(0,1),a=r.split(o);if(void 0!==e&&"number"!=typeof e&&(n=t,t=e,e=void 0),void 0!==e&&"number"!=typeof e)throw new Error('Bad segment "'+e+'", must be 0-based integer');if(i&&a.shift(),e<0&&(e=Math.max(a.length+e,0)),void 0===t)return void 0===e?a:a[e];if(null===e||void 0===a[e])if(u(t)){a=[];for(var s=0,l=t.length;sn._parts[t]=e._parts[t])),n._parts.path?(".."===n._parts.path.substring(-2)&&(n._parts.path+="/"),"/"!==n.path().charAt(0)&&(t=(t=e.directory())||(0===e.path().indexOf("/")?"/":""),n._parts.path=(t?t+"/":"")+n._parts.path,n.normalizePath())):(n._parts.path=e._parts.path,n._parts.query||(n._parts.query=e._parts.query)),n.build()),n)},i.preventInvalidHostname=function(e){return this._parts.preventInvalidHostname=!!e,this},i.duplicateQueryParameters=function(e){return this._parts.duplicateQueryParameters=!!e,this},i.escapeQuerySpace=function(e){return this._parts.escapeQuerySpace=!!e,this};const O=r},70246:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(16252);const r=function(e,t=o.identity,n){function r(...o){const r=o[0]instanceof Error?o[0]:t?.apply(void 0,o),i={type:e};return null!=r&&(i.payload=r),(o instanceof Error||r instanceof Error)&&(i.error=!0),n&&(i.meta=n.apply(void 0,o)),i}return r.toString=()=>e,r.type=e,r}},23775:(e,t,n)=>{"use strict";n.d(t,{ee:()=>r,oh:()=>i});const o=e=>`https://manage.wix.com/dashboard/${e}/blog`,r=({postId:e,metaSiteId:t})=>window.open(`${o(t)}/${e}/edit`,"_blank","noopener"),i=({metaSiteId:e,lang:t})=>window.open(`${o(e)}/create-post${t?`?lang=${t}`:""}`,"_blank","noopener")},9814:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var o=n(26153);const r=({topology:e,to:t,shouldNavigateToFeed:n})=>{const{baseUrl:r,isHomePage:i,sectionUrl:a,postPageSectionUrl:s}=e,l="/"===t?"":t,u=n?""===l&&i?r:a:s;return(0,o.d)(l,u)}},26153:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var o=n(16252),r=n(3084),i=n(38369);const a=(e,t)=>(0,i.CD)(((e,t)=>{const n=new r.A(t||"").unicode();if(""===e&&n.hostname()&&t?.endsWith(n.hostname()))return t;const a=new r.A(e).unicode(),s=(0,o.trimEnd)((0,i.CD)(n.pathname()),"/")+a.pathname(),l=(0,o.chain)([n.query(),a.query()]).compact().join("&").value();return n.pathname(s),n.query(l),n.hash(a.hash()||n.hash()),n.toString()})(e,t))},79170:(e,t,n)=>{"use strict";n.d(t,{Oh:()=>a,VG:()=>s,zO:()=>l});var o=n(43425),r=n(97377),i=n(16122);(0,i.f)()||window.screen.width,(0,i.f)()||window.devicePixelRatio;const a=e=>{if("string"==typeof e)return e;if(e){if("id"in e&&""!==e.id)return e.id??("file_name"in e?e.file_name:void 0);if("file_name"in e)return e.file_name}},s=({image:e,maxWidth:t=1e3,maxHeight:n=1e3,quality:r,type:i="fit",format:s,blur:l,encode:u=!1})=>{if(!e)return"";const c=a(e)??"";if(!c)return"url"in e?e.url??"":"";return(0,{fill:o.sdk.getScaleToFillImageURL,fit:o.sdk.getScaleToFitImageURL}[i])(c,e.width,e.height,t,n,{quality:r,preferredExtension:s,filters:{blur:l},autoEncode:u})},l=({pathname:e,width:t,height:n,imageHost:o})=>(0,r.resizeThumbnail)(o)(e,t,n)},56630:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});const o=e=>!!e&&"nodes"in e},16122:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});const o=()=>"undefined"==typeof window},53790:(e,t,n)=>{"use strict";n.d(t,{J2:()=>l});n(16252);var o=n(45696),r=n(96626),i=n(89996);let a,s;const l=({date:e,lng:t,rtfFormatter:n,timezone:l})=>{const u=(0,r.U)(e);if(a&&t===s||!n||(a=n,s=t),"timeRelative"===u&&a)return(0,r.$)(e)?"few-seconds-ago":a(new Date(e));let c=e;"timeRelative"!==u&&l&&(c=(0,i.s)(e,l));const d="date"===u||"fullDate"===u?o.A.formats.date[u]:void 0;return new Intl.DateTimeFormat(t,d).format(new Date(c))}},50995:(e,t,n)=>{"use strict";n.d(t,{W:()=>i,k:()=>r});var o=n(16252);const r=e=>Object.keys(i(e)),i=e=>{const t={...(0,o.keyBy)(e,"_id"),...(0,o.keyBy)(e,"id")};return delete t.undefined,delete t.null,t}},91139:(e,t,n)=>{"use strict";n.d(t,{b:()=>l});var o=n(16252),r=n(88954),i=n(79597),a=n(79170),s=n(36504);const l=(e,t,n)=>{const r=(0,i.getResolvedCoverImage)(e);if(r)return r;let{imageMetadata:a,videoMetadata:s,isCustom:l,isEnabled:d}=(0,i.getCustomCoverImage)(e);return a||(a=c(e.content)),a||(s=u(e.content,t,n)),{shouldRender:Boolean(a||s)&&d,imageMetadata:a,videoMetadata:s,src:a||(0,o.get)(s,"thumbnail_url"),isEnabled:d,isCustom:l}},u=(e,t,n)=>{const o=(e.nodes??[]).find((e=>e.type===r.A.VIDEO));if(o?.videoData){const e=o.videoData.thumbnail||{},r=o.videoData.video?.src?.id?(0,s.f)({videoHost:n,pathname:o.videoData.video.src.id}):o.videoData.video?.src?.url;if(e.src?.id){const n=(0,a.zO)({pathname:e.src?.id||"",width:e.width,height:e.height,imageHost:t});return{thumbnail_url:n.url,thumbnail_height:n.height,thumbnail_width:n.width,video_url:r}}return{thumbnail_url:e.src?.url,thumbnail_height:e.height,thumbnail_width:e.width,video_url:r}}},c=e=>{const t=e.nodes??[],n=t.find((e=>e.type===r.A.IMAGE));if(n?.imageData)return{id:n.imageData.image?.src?.id||n.imageData.image?.src?.url,file_name:n.imageData.image?.src?.id||n.imageData.image?.src?.url,width:n.imageData.image?.width,height:n.imageData.image?.height};const o=t.find((e=>e.type===r.A.GALLERY));if(o?.galleryData){const e=o.galleryData?.items?.[0];if(e)return{id:e.image?.media?.src?.id||e.image?.media?.src?.url,file_name:e.image?.media?.src?.id||e.image?.media?.src?.url,width:e.image?.media?.width,height:e.image?.media?.height}}}},68701:(e,t,n)=>{"use strict";n.d(t,{S:()=>o,v:()=>r});const o=e=>e?.id?e.id:e?._id?(console.log("[Wix Blog]",'No "id" field found',e),e._id):e?.internalId?e.internalId:void 0,r=e=>e?._id??e?.internalId},1851:(e,t,n)=>{"use strict";n.d(t,{A6:()=>l,PH:()=>a,Yb:()=>s});var o=n(16252),r=n(26153),i=n(38369);const a=e=>decodeURIComponent(e).replace(/\.hash\./g,"#"),s=(e,{newPath:t=!1}={})=>{const n=(0,o.trimStart)(e,"#"),r=t?n:`#${n}`;return(0,i.CD)(t?`/hashtags/${encodeURIComponent(r)}`:`/search/${a=r,encodeURIComponent(a.toLowerCase().replace(/#/g,".hash."))}`);var a},l=(e,t,{newPath:n=!1}={})=>(0,r.d)(s(e,{newPath:n}),t)},96626:(e,t,n)=>{"use strict";n.d(t,{$:()=>o,U:()=>i});const o=e=>new Date(e).getTime()>(new Date).getTime()-6e4,r=e=>new Date(e).getTime()>(new Date).getTime()-6048e5,i=e=>r(e)?"timeRelative":(e=>(new Date).getFullYear()!==new Date(e).getFullYear())(e)?"fullDate":"date"},89996:(e,t,n)=>{"use strict";function o(e,t){if(!e)return;const n=new Date(e);if(t){const e=function(e){const t=new Date,n=t.toLocaleString("ja",{timeZone:e}).split(/[/\s:]/).map(Number);n[1]--;const o=Date.UTC(...n),r=new Date(t).setMilliseconds(0);return(r-o)/60/1e3}(t),o=e-n.getTimezoneOffset();return new Date(new Date(n.getTime()-60*o*1e3).toISOString())}return n}n.d(t,{s:()=>o})},38369:(e,t,n)=>{"use strict";n.d(t,{CD:()=>i});var o=n(16252),r=n(3084);const i=e=>{const t=new r.A(e),n=t.pathname(),i=t.origin();let a=new r.A(i+n).readable();return"/"!==n||e.endsWith("/")||(a=(0,o.trimEnd)(a,"/")),a+t.search()+t.hash()}},36504:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});var o=n(73990),r=n.n(o);const i=({pathname:e,videoHost:t})=>r()(t)(e)},54558:(e,t,n)=>{"use strict";n.d(t,{Qd:()=>s,WE:()=>o,Ym:()=>c,_4:()=>r,a$:()=>a,ax:()=>u,kx:()=>i});n(16252);const o=e=>e.appConfig||{},r=e=>o(e).categoryPath,i=e=>o(e).bundleName,a=e=>o(e).imageHost,s=e=>o(e).videoHost,l=(e,t)=>i(e)===t,u=e=>l(e,"blog"),c=e=>l(e,"post-page")},56040:(e,t,n)=>{"use strict";n.d(t,{Gw:()=>c,HW:()=>s,lT:()=>u,u8:()=>l});var o=n(16252),r=n(45967),i=n(44239),a=n(30223);const s=e=>(0,o.get)(e,"auth.currentUser"),l=((0,r.Mz)([s],(e=>e&&e.siteMemberId)),(0,r.Mz)([s],(e=>e&&e.slug)),(0,r.Mz)([s],(e=>e&&e.counters)),(0,r.Mz)([s],(e=>Boolean(e&&e.isOwner)))),u=((0,r.Mz)([s],(e=>(0,o.get)(e,`appStore[${i.BLOG_APP_ID}].permissions.role`,"guest"))),(0,r.Mz)([s],(e=>Boolean(e&&e.isBlocked)))),c=(0,r.Mz)([s],(e=>e&&e.privacyStatus===a.g))},58632:(e,t,n)=>{"use strict";n.d(t,{D:()=>r,b:()=>i});var o=n(16252);const r=e=>e.experiments??{},i=(e,t,n)=>function(e,t,n){return n||(n="true"),(Array.isArray(n)?n:[n]).includes((0,o.get)(e,t))}(r(e),t,n)},79862:(e,t,n)=>{"use strict";n.d(t,{Al:()=>u});n(16252);var o=n(79597),r=n(79170),i=n(36504),a=n(56630),s=n(91139);const l=(e,t)=>({resizeThumbnail:(t,n,o)=>(0,r.zO)({pathname:t,width:n,height:o,imageHost:e}),getVideoUrl:e=>(0,i.f)({pathname:e,videoHost:t})}),u=(e,t,n)=>t&&n&&e.content?(0,a.K)(e.content)?(0,s.b)({content:e.content},t,n):(0,o.getPostCover)(e,l(t,n)):e?.coverImage??{}},34672:(e,t,n)=>{"use strict";n.d(t,{Qx:()=>u,Rk:()=>c,TH:()=>s,Uf:()=>i,Wv:()=>l});const o=e=>e.tpaSettings,r=e=>o(e)?.settings??{},i=({state:e,language:t})=>{if(!t)return null;const n=o(e);return n.settings?.allPostsFeedLabel},a=e=>r(e)?.comments??{},s=e=>void 0!==r(e).comments,l=e=>a(e).enabled??!0,u=e=>a(e).ratingsEnabled??!1,c=e=>(r(e).liveSiteEditingDeprecated||(e=>r(e).blocksPostPage??!1)(e))??!1},75403:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>_,loadableReady:()=>I});var o=n(60751),r=n.n(o),i=n(49257),a=n(68102),s=n(72367),l=n(51449),u=n(84271),c=n(58486),d=n.n(c);function p(e,t){if(!e){var n=new Error("loadable: "+t);throw n.framesToPop=1,n.name="Invariant Violation",n}}function m(e){console.warn("loadable: "+e)}var h=r().createContext(),g="__LOADABLE_REQUIRED_CHUNKS__";function f(e){return""+e+g}var v={initialChunks:{}},y="PENDING",b="REJECTED";var E=function(e){return e};function A(e){var t=e.defaultResolveComponent,n=void 0===t?E:t,o=e.render,c=e.onLoad;function m(e,t){void 0===t&&(t={});var m=function(e){return"function"==typeof e?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}(e),g={};function f(e){return t.cacheKey?t.cacheKey(e):m.resolve?m.resolve(e):"static"}function E(e,o,r){var i=t.resolveComponent?t.resolveComponent(e,o):n(e);if(t.resolveComponent&&!(0,u.isValidElementType)(i))throw new Error("resolveComponent returned something that is not a React component!");return d()(r,i,{preload:!0}),i}var A,C,S=function(e){var t=f(e),n=g[t];return n&&n.status!==b||((n=m.requireAsync(e)).status=y,g[t]=n,n.then((function(){n.status="RESOLVED"}),(function(t){console.error("loadable-components: failed to asynchronously load component",{fileName:m.resolve(e),chunkName:m.chunkName(e),error:t?t.message:t}),n.status=b}))),n},w=function(e){function n(n){var o;return(o=e.call(this,n)||this).state={result:null,error:null,loading:!0,cacheKey:f(n)},p(!n.__chunkExtractor||m.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),n.__chunkExtractor?(!1===t.ssr||(m.requireAsync(n).catch((function(){return null})),o.loadSync(),n.__chunkExtractor.addChunk(m.chunkName(n))),(0,s.A)(o)):(!1!==t.ssr&&(m.isReady&&m.isReady(n)||m.chunkName&&v.initialChunks[m.chunkName(n)])&&o.loadSync(),o)}(0,l.A)(n,e),n.getDerivedStateFromProps=function(e,t){var n=f(e);return(0,a.A)({},t,{cacheKey:n,loading:t.loading||t.cacheKey!==n})};var r=n.prototype;return r.componentDidMount=function(){this.mounted=!0;var e=this.getCache();e&&e.status===b&&this.setCache(),this.state.loading&&this.loadAsync()},r.componentDidUpdate=function(e,t){t.cacheKey!==this.state.cacheKey&&this.loadAsync()},r.componentWillUnmount=function(){this.mounted=!1},r.safeSetState=function(e,t){this.mounted&&this.setState(e,t)},r.getCacheKey=function(){return f(this.props)},r.getCache=function(){return g[this.getCacheKey()]},r.setCache=function(e){void 0===e&&(e=void 0),g[this.getCacheKey()]=e},r.triggerOnLoad=function(){var e=this;c&&setTimeout((function(){c(e.state.result,e.props)}))},r.loadSync=function(){if(this.state.loading)try{var e=E(m.requireSync(this.props),this.props,N);this.state.result=e,this.state.loading=!1}catch(e){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:m.resolve(this.props),chunkName:m.chunkName(this.props),error:e?e.message:e}),this.state.error=e}},r.loadAsync=function(){var e=this,t=this.resolveAsync();return t.then((function(t){var n=E(t,e.props,N);e.safeSetState({result:n,loading:!1},(function(){return e.triggerOnLoad()}))})).catch((function(t){return e.safeSetState({error:t,loading:!1})})),t},r.resolveAsync=function(){var e=this.props,t=(e.__chunkExtractor,e.forwardedRef,(0,i.A)(e,["__chunkExtractor","forwardedRef"]));return S(t)},r.render=function(){var e=this.props,n=e.forwardedRef,r=e.fallback,s=(e.__chunkExtractor,(0,i.A)(e,["forwardedRef","fallback","__chunkExtractor"])),l=this.state,u=l.error,c=l.loading,d=l.result;if(t.suspense&&(this.getCache()||this.loadAsync()).status===y)throw this.loadAsync();if(u)throw u;var p=r||t.fallback||null;return c?p:o({fallback:p,result:d,options:t,props:(0,a.A)({},s,{ref:n})})},n}(r().Component),O=(C=function(e){return r().createElement(h.Consumer,null,(function(t){return r().createElement(A,Object.assign({__chunkExtractor:t},e))}))},(A=w).displayName&&(C.displayName=A.displayName+"WithChunkExtractor"),C),N=r().forwardRef((function(e,t){return r().createElement(O,Object.assign({forwardedRef:t},e))}));return N.displayName="Loadable",N.preload=function(e){N.load(e)},N.load=function(e){return S(e)},N}return{loadable:m,lazy:function(e,t){return m(e,(0,a.A)({},t,{suspense:!0}))}}}var C=A({defaultResolveComponent:function(e){return e.__esModule?e.default:e.default||e},render:function(e){var t=e.result,n=e.props;return r().createElement(t,n)}}),S=C.loadable,w=C.lazy,O=A({onLoad:function(e,t){e&&t.forwardedRef&&("function"==typeof t.forwardedRef?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,n=e.props;return n.children?n.children(t):null}}),N=O.loadable,P=O.lazy,L="undefined"!=typeof window;function I(e,t){void 0===e&&(e=function(){});var n=void 0===t?{}:t,o=n.namespace,r=void 0===o?"":o,i=n.chunkLoadingGlobal,a=void 0===i?"__LOADABLE_LOADED_CHUNKS__":i;if(!L)return m("`loadableReady()` must be called in browser only"),e(),Promise.resolve();var s=null;if(L){var l=f(r),u=document.getElementById(l);if(u){s=JSON.parse(u.textContent);var c=document.getElementById(l+"_ext");if(!c)throw new Error("loadable-component: @loadable/server does not match @loadable/component");JSON.parse(c.textContent).namedChunks.forEach((function(e){v.initialChunks[e]=!0}))}}if(!s)return m("`loadableReady()` requires state, please use `getScriptTags` or `getScriptElements` server-side"),e(),Promise.resolve();var d=!1;return new Promise((function(e){window[a]=window[a]||[];var t=window[a],n=t.push.bind(t);function o(){s.every((function(e){return t.some((function(t){return t[0].indexOf(e)>-1}))}))&&(d||(d=!0,e()))}t.push=function(){n.apply(void 0,arguments),o()},o()})).then(e)}var T=S;T.lib=N,w.lib=P;const _=T},78544:(e,t,n)=>{"use strict";n.r(t),n.d(t,{classes:()=>r,cssStates:()=>u,keyframes:()=>i,layers:()=>a,namespace:()=>o,st:()=>d,stVars:()=>s,style:()=>c,vars:()=>l});var o="opnPYhO",r={root:"sPCvwsc"},i={},a={},s={},l={},u=n.stc.bind(null,o),c=n.sts.bind(null,o),d=c},39528:(e,t,n)=>{"use strict";n.r(t),n.d(t,{classes:()=>r,cssStates:()=>u,keyframes:()=>i,layers:()=>a,namespace:()=>o,st:()=>d,stVars:()=>s,style:()=>c,vars:()=>l});var o="oCxBU88",r={root:"sk4K9Me"},i={},a={},s={},l={},u=n.stc.bind(null,o),c=n.sts.bind(null,o),d=c},89422:(e,t,n)=>{"use strict";n.r(t),n.d(t,{classes:()=>r,cssStates:()=>u,keyframes:()=>i,layers:()=>a,namespace:()=>o,st:()=>d,stVars:()=>s,style:()=>c,vars:()=>l});var o="ooKKRQc",r={root:"sx8AhjX"},i={},a={},s={},l={},u=n.stc.bind(null,o),c=n.sts.bind(null,o),d=c},57827:(e,t,n)=>{"use strict";n.d(t,{KG:()=>s,Km:()=>i,Nv:()=>u,Ox:()=>d,h6:()=>c,pY:()=>l,vA:()=>o,vX:()=>a,vs:()=>r});var o="specs.wixBlog.DeprecateNotificationsBell",r="specs.wixBlog.EditPostInDashboard",i="specs.wixBlog.PostRatingsInViewer",a="specs.wixBlog.FeedMoreActionsFix",s="specs.wixBlog.HashtagPageUseFeedPage",l="specs.wixBlog.RicosEmbedButtons",u="specs.wixBlog.UnifyPostsEmptyStates",c="specs.wixBlog.UseFilesusrDomain",d="specs.wixBlog.UseLayoutFixer"},40795:e=>{e.exports={YEAR_SLASH_MONTH_OPTIONAL_SLASH_DAY:"([12]\\d{3})/(0[1-9]|1[0-2])(/(0[1-9]|[12][0-9]|3[01]))?",TEXT_WITHOUT_SLASH:"([^/]+)"}},46424:e=>{e.exports=["profiles","settings","notifications","search","posts","members","login","sign-in","sign-up","signin","signup","account-suspended","create-post","edit","create-category","404","widget","mobile","app-settings","custom-feed-widget","custom-feed-widget-settings","recent-posts-widget","recent-posts-widget-settings","add-ons-modal","confirmation-modal","modal","user","users","delete","main","system","about","update","new-post-modal","manage-posts-modal","categories","category","new-post","create","new","add","feed","stats","subscribe","post-list-modal"]},78340:e=>{var t="guest",n="user",o="open-blog-writer",r="writer",i="guest-writer",a="editor",s="owner",l="service",u=[t,n,o,r,i,a,s,l];e.exports={USER_PRIVACY_STATUS_PRIVATE:"PRIVATE",USER_PRIVACY_STATUS_PUBLIC:"PUBLIC",ROLE_GUEST:t,ROLE_USER:n,ROLE_OPEN_BLOG_WRITER:o,ROLE_GUEST_WRITER:i,ROLE_WRITER:r,ROLE_EDITOR:a,ROLE_OWNER:s,ROLE_SERVICE:l,ALLOWED_BLOG_ROLES:u,RESOURCE_BLOG:"blog",RESOURCE_CATEGORY:"category",RESOURCE_POST:"post",RESOURCE_COMMENT:"comment",RESOURCE_MEMBER:"member",RESOURCE_RCE_SETTINGS:"rceSettings",RESOURCE_FILE:"file",RESOURCE_TAG:"tag"}},55548:(e,t,n)=>{var o=n(78304),r=n(16252),i=n(85968),a=n(81693).BLOG_APP_ID,s=n(78340),l=s.USER_PRIVACY_STATUS_PRIVATE,u=s.USER_PRIVACY_STATUS_PUBLIC,c=s.ROLE_GUEST,d=s.ROLE_USER,p=s.ROLE_GUEST_WRITER,m=s.ROLE_WRITER,h=s.ROLE_EDITOR,g=s.ROLE_OWNER,f=s.ALLOWED_BLOG_ROLES,v=s.RESOURCE_BLOG,y=s.RESOURCE_CATEGORY,b=s.RESOURCE_POST,E=s.RESOURCE_COMMENT,A=s.RESOURCE_MEMBER,C=s.RESOURCE_RCE_SETTINGS,S=s.RESOURCE_FILE,w=s.RESOURCE_TAG;var O=function(e,t){return e?o({},e,{getResourceId:function(){return t}}):t};e.exports={ROLE_GUEST:c,ROLE_USER:d,ROLE_WRITER:m,ROLE_EDITOR:h,ROLE_OWNER:g,ALLOWED_BLOG_ROLES:f,RESOURCE_BLOG:v,RESOURCE_CATEGORY:y,RESOURCE_POST:b,RESOURCE_COMMENT:E,RESOURCE_MEMBER:A,RESOURCE_RCE_SETTINGS:C,RESOURCE_FILE:S,RESOURCE_TAG:w,resourcify:O,permissionsChecker:function(e,t,n){var s=void 0===e?{}:e,C=s.isMemberAppInstalled,S=void 0!==C&&C,w=s.isMemberAreaInstalled,N=void 0!==w&&w,P=s.isSocialSharingEnabled,L=void 0===P||P,I=s.isCommentsEnabled,T=void 0===I||I,_=s.isAnonymousLikesEnabled,x=void 0===_||_,D=S||N;function k(e,t){return e.addRole("guest"),e.addRole("user","guest"),e.addRole("open-blog-writer","user"),e.addRole("guest-writer","open-blog-writer"),e.addRole("writer","guest-writer"),e.addRole("editor","writer"),e.addRole("owner","editor"),e.addRole("service","owner"),e.addResource("blog"),e.addResource("category"),e.addResource("tag"),e.addResource("post"),e.addResource("comment","post"),e.addResource("member"),e.addResource("author"),e.addResource("contributor"),e.addResource("settings"),e.addResource("analytics"),e.addResource("rceSettings"),e.addResource("file"),e.allow("guest","blog","read"),e.allow("guest","category","read"),e.allow("guest","tag","read"),e.allow("guest","post","read",K),e.allow("guest","post","read-comment",U(K,q)),L&&(e.allow("guest","post","share",K),e.allow("guest","comment","share")),t?(e.allow("guest","post","like",K),e.allow("guest","post","like-comments",K),e.allow("guest","comment","like")):x&&(e.allow("guest","post","like",U(K,F(H))),e.allow("guest","post","like-comments",U(K,F(H))),e.allow("guest","comment","like",U(Q(K),F(H)))),e.allow("user","blog","subscribe",F(H)),e.allow("user","post","like",t?K:U(K,F(H))),e.allow("user","post","like-comments",t?K:U(K,F(H))),D&&(e.allow("user","post","subscribe",t?K:U(K,F(H))),e.allow("user","post","report",t?U(K,F(W),F(J("owner"))):U(K,F(W),F(J("owner")),F(H)))),T&&e.allow("user","post","create-comment",U(K,F(z),j(q,X))),e.allow("user","post","read-comment",U(K,j(q,X))),D&&e.allow("user","comment","report",t?U(F(W),F(J("owner"))):U(F(W),F(J("owner")),F(H))),e.allow("user","comment","edit",t?W:U(W,F(H))),e.allow("user","comment","delete",W),e.allow("user","comment","like",t?Q(K):U(Q(K),F(H))),e.allow("user","member","subscribe",U(F(G),F(H))),e.allow("user","member","list"),e.allow("user","member","edit",G),e.allow("user","member","delete",U(G,F(V("owner")))),e.allow("open-blog-writer","post","create"),e.allow("open-blog-writer","post","read",j(W,K)),e.allow("open-blog-writer","post","read-comment",j(W,U(K,j(q,X)))),e.allow("open-blog-writer","post","delete-own-post-comments",W),e.allow("open-blog-writer","post","duplicate",W),e.allow("open-blog-writer","post","publish",j(W,Y)),e.allow("open-blog-writer","post","delete",W),e.allow("open-blog-writer","post","read-draft",W),e.allow("open-blog-writer","post","edit",W),e.allow("open-blog-writer","post","edit-draft",W),e.allow("open-blog-writer","post","preview",W),e.allow("open-blog-writer","post","search-owned"),e.deny("open-blog-writer","post","report",W),e.deny("open-blog-writer","post","share"),e.allow("open-blog-writer","comment","delete",Q(W)),e.deny("open-blog-writer","comment","report",Q(W)),e.deny("open-blog-writer","comment","share"),e.allow("open-blog-writer","rceSettings","edit"),e.allow("open-blog-writer","file","upload"),e.deny("guest-writer","post","publish"),e.deny("guest-writer","post","edit",j(K,$)),e.deny("guest-writer","post","edit-draft",j(K,$)),e.allow("guest-writer","post","edit-post-settings",U(F(j(K,$)),j(W,Y))),e.allow("guest-writer","post","manage-related-post",j(W,Y)),e.allow("guest-writer","post","toggle-seo",j(W,Y)),T&&e.allow("guest-writer","post","toggle-comments",j(W,Y)),L&&(e.allow("guest-writer","post","share",K),e.allow("guest-writer","comment","share")),e.allow("guest-writer","tag",["read","create"]),e.allow("writer","post","publish",j(W,Y)),e.allow("writer","post","edit-post-settings",j(W,Y)),e.allow("writer","post","edit",W),e.allow("writer","post","edit-draft",W),e.allow("editor","author","create"),e.allow("editor","blog","reorder-categories"),e.allow("editor","category",["read","create","create-post","edit","delete"]),e.allow("editor","tag",["read","create","edit","delete"]),e.allow("editor","comment","delete"),e.allow("editor","post",["read","subscribe","create","edit","edit-draft","edit-post-settings","publish","delete","pin","read-comment","delete-any-post-comments","search","toggle-featured","toggle-seo","change-owner","duplicate","preview","manage-related-post","view-report","read-draft"]),T&&e.allow("editor","post",["toggle-comments","create-comment"]),e.deny("editor","post","report"),e.deny("editor","comment","report"),e.deny("editor","comment","edit",F(W)),e.allow("owner","blog","edit"),e.allow("owner","member","delete",F(V("owner"))),e.allow("owner","member","promote",U(F(Z),F(V("owner")))),e.allow("owner","member","delete",F(V("owner"))),e.allow("owner","settings","edit"),e.allow("owner","analytics","view"),e.allow("owner","contributor","create"),e.allow("service","post","reblog"),e}var R=k(new i),M=k(new i,D),B={ROLE_GUEST:c,ROLE_USER:d,ROLE_WRITER:m,ROLE_EDITOR:h,ROLE_OWNER:g,ROLE_GUEST_WRITER:p,RESOURCE_BLOG:v,RESOURCE_CATEGORY:y,RESOURCE_POST:b,RESOURCE_COMMENT:E,RESOURCE_MEMBER:A,resourcify:O,setUserIdentity:function(e){var t=o({},e),n=function(e){if(e.isBlocked)return c;var t=r.get(e,"appStore["+a+"].permissions.role")||e.scope;return f.includes(t)?t:c}(t);N||(t.privacyStatus=u),R.setUserIdentity(ee(t,n)),M.setUserIdentity(ee(t,n))},getUserIdentity:function(){return R.getUserIdentity()},can:function(e,t){return R.can(e,t)},canSee:function(e,t){return M.can(e,t)}};return B.setUserIdentity(t),B;function F(e){var t=this;return function(){for(var n=arguments.length,o=new Array(n),r=0;r{"use strict";t.py=t.g3=t.Ql=void 0;var o=n(16252),r=o.sortBy,i=o.intersection,a=n(53072);t.g3=function(e){return void 0===e&&(e=[]),r(e,[function(e){return!e.isPinned},function(e){return-a(e.firstPublishedDate)}])};var s=function(e){return void 0===e&&(e=[]),r(e,(function(e){return-a(e.firstPublishedDate)}))};t.Ql=s;var l=s;t.py=l},53072:e=>{e.exports=function(e){return e instanceof Date?e:new Date(e)}},81693:(e,t,n)=>{"use strict";var o=Object.assign||function(e){for(var t=1;t{"use strict";e.exports={APP_PROTOCOL:"https",BLOG_SECTION_ID:"blog",BLOG_POST_PAGE_SECTION_ID:"post",MEMBERS_APP_ID:"14ad9202-3dd3-128a-57bd-e5675fd7e313",FORUM_APP_ID:"14724f35-6794-cd1a-0244-25fd138f9242",FORUM_SECTION_ID:"forum",SANTA_MEMBERS_APP_ID:"14cc59bc-f0b7-15b8-e1c7-89ce41d0e0c9",NOTIFICATIONS_APP_ID:"14f25924-5664-31b2-9568-f9c5ed98c9b1",NOTIFICATIONS_SETTING_APP_ID:"14f25dc5-6af3-5420-9568-f9c5ed98c9b1",MEMBER_INFO_APP_ID:"14cffd81-5215-0a7f-22f8-074b0e2401fb",MEMBER_INFO_SECTION_ID:"member_info",FOLLOWERS_APP_ID:"14ebe801-d78a-daa9-c9e5-0286a891e46f",FORUM_RECENT_POST_WIDGET_ID:"151bd179-dfe6-3ca3-399c-ee97957f93a2",FORUM_APP_PAGE_ID:"1489040e-001f-4631-55a9-2c29b4417126",CHAT_APP_DEF_ID:"14517e1a-3ff0-af98-408e-2bd6953c36a2"}},62445:(e,t,n)=>{"use strict";var o=n(16252),r=o.chain,i=o.identity,a=o.trim,s=o.truncate,l=function(e){return e.replace(/{\$h\d}(.*?){\$h}/g,(function(e,t){return t}))};e.exports={getContentText:function(e,t){var n=r(e).get("blocks",[]).filter((function(e){return"atomic"!==e.type})).map((function(e){return a(e.text)})).map(l).filter(i).join(" ").value();return t?s(n,{length:t}):n}}},97026:(e,t)=>{"use strict";t.hot=void 0;t.hot=function(e,t){return t}},21717:(e,t,n)=>{e.exports=n(97026)},97335:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});const o={en:{s:"1s",ss:"%ds",m:"1m",mm:"%dm",h:"1h",hh:"%dh",d:"1d",dd:"%dd"},nl:{s:"1sec.",ss:"%dsec.",m:"1min.",mm:"%dmin.",h:"1u.",hh:"%du."},cs:{s:"1sek",ss:"%dsek",m:"1min",mm:"%dmin",h:"1hod",hh:"%dhod"},da:{s:"1s",ss:"%ds",m:"1m",mm:"%dm",h:"1t",hh:"%dt"},de:{s:"1Sek.",ss:"%dSek.",m:"1Min.",mm:"%dMin.",h:"1Std.",hh:"%dStd."},fr:{s:"1s",ss:"%ds",m:"1min",mm:"%dmin",h:"1h",hh:"%dh"},hi:{s:"1\u0938\u0947",ss:"%d\u0938\u0947",m:"1\u092e\u093f",mm:"%d\u092e\u093f",h:"1\u0918\u0902\u091f\u093e",hh:"%d\u0918\u0902\u091f\u093e"},it:{s:"1sec",ss:"%dsec",m:"1min",mm:"%dmin",h:"1ora",hh:"%dore"},ja:{s:"1\u79d2",ss:"%d\u79d2",m:"1\u5206",mm:"%d\u5206",h:"1\u6642\u9593",hh:"%d\u6642\u9593"},ko:{s:"1\ucd08",ss:"%d\ucd08",m:"1\ubd84",mm:"%d\ubd84",h:"1\uc2dc\uac04",hh:"%d\uc2dc\uac04"},lt:{s:"1s",ss:"%ds",m:"1min",mm:"%dmin",h:"1val",hh:"%dval"},nb:{s:"1sek",ss:"%dsek",m:"1min",mm:"%dmin",h:"1time",hh:"%dtimer"},pl:{s:"1s",ss:"%ds",m:"1min",mm:"%dmin",h:"1h",hh:"%dh"},pt:{s:"1s",ss:"%ds",m:"1min",mm:"%dmin",h:"1h",hh:"%dh"},es:{s:"1seg",ss:"%dseg",m:"1min",mm:"%dmin",h:"1h",hh:"%dhs"},sv:{s:"1s",ss:"%ds",m:"1min",mm:"%dmin",h:"1h",hh:"%dh"},th:{s:"1\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",ss:"%d\u0e27\u0e34\u0e19\u0e32\u0e17\u0e35",m:"1\u0e19\u0e32\u0e17\u0e35",mm:"%d\u0e19\u0e32\u0e17\u0e35",h:"1\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07",hh:"%d\u0e0a\u0e31\u0e48\u0e27\u0e42\u0e21\u0e07"},tr:{s:"1sn.",ss:"%dsn.",m:"1dk.",mm:"%ddk.",h:"1sa.",hh:"%dsa."},ru:{s:"1\u0441\u0435\u043a.",ss:"%d\u0441\u0435\u043a.",m:"1d\u043c\u0438\u043d.",mm:"%d\u043c\u0438\u043d.",h:"1\u0447.",hh:"%d\u0447."},"zh-cn":{s:"1\u79d2",ss:"%d\u79d2",m:"1d\u5206\u9418",mm:"%d\u5206\u9418",h:"1\u5c0f\u6642",hh:"%d\u5c0f\u6642"},uk:{s:"1\u0441.",ss:"%d\u0441.",m:"1d\u0445\u0432.",mm:"%d\u0445\u0432.",h:"1\u0433.",hh:"%d\u0433."}};var r;!function(e){e.SECONDS="second",e.MINUTES="minute",e.HOURS="hour",e.DAYS="day"}(r||(r={}));const i=(e,{floorSeconds:t=!1,extraShortExpression:n=!1}={},i={})=>{let a;return s=>{a||void 0===Intl.RelativeTimeFormat||(a=new Intl.RelativeTimeFormat(e,{...i}));let l=(new Date).getTime()-new Date(s).getTime();isNaN(l)&&(console.error(`[@wix/wix-i18n-config/relative-time-formatter] received invalid time: ${s}`),l=1e3);const u=(e=>{const t=e<0?-e:e;switch(!0){case t<6e4:return r.SECONDS;case t<36e5:return r.MINUTES;case t<864e5:return r.HOURS;default:return r.DAYS}})(l),c=((e,t,n)=>{let o;switch(t){case r.SECONDS:o=n?1:e/1e3;break;case r.MINUTES:o=e/1e3/60;break;case r.HOURS:o=e/1e3/60/60;break;case r.DAYS:o=e/1e3/60/60/24;break;default:o=e}return-Math.round(o)})(l,u,t),d=n||!a?((e,t,n)=>{const i={[r.SECONDS]:"ss",[r.MINUTES]:"mm",[r.HOURS]:"hh",[r.DAYS]:"dd"},a=-1===n?i[t][0]:i[t],s=o[e]?o[e][a]:null;return s?s.replace("%d",""+-n):null})(e,u,c):null;return d||(a?a.format(c,u):s)}}},1920:(e,t,n)=>{"use strict";n.d(t,{x:()=>b});var o=n(81515),r=n(40694),i=n(41705),a=n(60751),s=n(65144),l=n(7265),u=n(52807),c=["format"],d=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function m(e){for(var t=1;t0:!!n}function g(e){return e?e.props?e.props.children:e.children:[]}function f(e){return Array.isArray(e)?e:[e]}function v(e,t){if(!e)return"";var n="",i=f(e),s=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return i.forEach((function(e,i){if("string"==typeof e)n+="".concat(e);else if((0,a.isValidElement)(e)){var l=Object.keys(e.props).length,d=s.indexOf(e.type)>-1,p=e.props.children;if(!p&&d&&0===l)n+="<".concat(e.type,"/>");else if(p||d&&0===l)if(e.props.i18nIsDynamicList)n+="<".concat(i,">");else if(d&&1===l&&"string"==typeof p)n+="<".concat(e.type,">").concat(p,"");else{var m=v(p,t);n+="<".concat(i,">").concat(m,"")}else n+="<".concat(i,">")}else if(null===e)(0,u.R8)("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===(0,r.A)(e)){var h=e.format,g=(0,o.A)(e,c),f=Object.keys(g);if(1===f.length){var y=h?"".concat(f[0],", ").concat(h):f[0];n+="{{".concat(y,"}}")}else(0,u.R8)("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else(0,u.R8)("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)})),n}function y(e,t,n,o,i,l){if(""===t)return[];var u=o.transKeepBasicHtmlNodesFor||[],c=t&&new RegExp(u.join("|")).test(t);if(!e&&!c)return[t];var d={};!function e(t){f(t).forEach((function(t){"string"!=typeof t&&(h(t)?e(g(t)):"object"!==(0,r.A)(t)||(0,a.isValidElement)(t)||Object.assign(d,t))}))}(e);var p=s.A.parse("<0>".concat(t,"")),v=m(m({},d),i);function y(e,t,n){var o=g(e),r=E(o,t.children,n);return function(e){return"[object Array]"===Object.prototype.toString.call(e)&&e.every((function(e){return(0,a.isValidElement)(e)}))}(o)&&0===r.length?o:r}function b(e,t,n,o,r){e.dummy&&(e.children=t),n.push((0,a.cloneElement)(e,m(m({},e.props),{},{key:o}),r?void 0:t))}function E(t,i,s){var d=f(t);return f(i).reduce((function(t,i,p){var g,f,A,C=i.children&&i.children[0]&&i.children[0].content&&n.services.interpolator.interpolate(i.children[0].content,v,n.language);if("tag"===i.type){var S=d[parseInt(i.name,10)];!S&&1===s.length&&s[0][i.name]&&(S=s[0][i.name]),S||(S={});var w=0!==Object.keys(i.attrs).length?(g={props:i.attrs},(A=m({},f=S)).props=Object.assign(g.props,f.props),A):S,O=(0,a.isValidElement)(w),N=O&&h(i,!0)&&!i.voidElement,P=c&&"object"===(0,r.A)(w)&&w.dummy&&!O,L="object"===(0,r.A)(e)&&null!==e&&Object.hasOwnProperty.call(e,i.name);if("string"==typeof w){var I=n.services.interpolator.interpolate(w,v,n.language);t.push(I)}else if(h(w)||N){b(w,y(w,i,s),t,p)}else if(P){var T=E(d,i.children,s);t.push((0,a.cloneElement)(w,m(m({},w.props),{},{key:p}),T))}else if(Number.isNaN(parseFloat(i.name))){if(L)b(w,y(w,i,s),t,p,i.voidElement);else if(o.transSupportBasicHtmlNodes&&u.indexOf(i.name)>-1)if(i.voidElement)t.push((0,a.createElement)(i.name,{key:"".concat(i.name,"-").concat(p)}));else{var _=E(d,i.children,s);t.push((0,a.createElement)(i.name,{key:"".concat(i.name,"-").concat(p)},_))}else if(i.voidElement)t.push("<".concat(i.name," />"));else{var x=E(d,i.children,s);t.push("<".concat(i.name,">").concat(x,""))}}else if("object"!==(0,r.A)(w)||O)1===i.children.length&&C?t.push((0,a.cloneElement)(w,m(m({},w.props),{},{key:p}),C)):t.push((0,a.cloneElement)(w,m(m({},w.props),{},{key:p})));else{var D=i.children[0]?C:null;D&&t.push(D)}}else if("text"===i.type){var k=o.transWrapTextNodes,R=l?o.unescape(n.services.interpolator.interpolate(i.content,v,n.language)):n.services.interpolator.interpolate(i.content,v,n.language);k?t.push((0,a.createElement)(k,{key:"".concat(i.name,"-").concat(p)},R)):t.push(R)}return t}),[])}return g(E([{dummy:!0,children:e||[]}],p,f(e||[]))[0])}function b(e){var t=e.children,n=e.count,r=e.parent,i=e.i18nKey,s=e.context,c=e.tOptions,p=void 0===c?{}:c,h=e.values,g=e.defaults,f=e.components,b=e.ns,E=e.i18n,A=e.t,C=e.shouldUnescape,S=(0,o.A)(e,d),w=(0,a.useContext)(l.gJ)||{},O=w.i18n,N=w.defaultNS,P=E||O||(0,l.TO)();if(!P)return(0,u.mc)("You will need to pass in an i18next instance by using i18nextReactModule"),t;var L=A||P.t.bind(P)||function(e){return e};s&&(p.context=s);var I=m(m({},(0,l.rV)()),P.options&&P.options.react),T=b||L.ns||N||P.options&&P.options.defaultNS;T="string"==typeof T?[T]:T||["translation"];var _=g||v(t,I)||I.transEmptyNodeValue||i,x=I.hashTransKey,D=i||(x?x(_):_),k=h?p.interpolation:{interpolation:m(m({},p.interpolation),{},{prefix:"#$?",suffix:"?$#"})},R=m(m(m(m({},p),{},{count:n},h),k),{},{defaultValue:_,ns:T}),M=y(f||t,D?L(D,R):_,P,I,R,C),B=void 0!==r?r:I.defaultTransParent;return B?(0,a.createElement)(B,S,M):M}},7265:(e,t,n)=>{"use strict";n.d(t,{TO:()=>d,gJ:()=>l,hz:()=>c,rV:()=>u});var o=n(92099),r=n(48183),i=(n(41705),n(60751));var a,s={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:n(44888).x},l=(0,i.createContext)();function u(){return s}var c=function(){function e(){(0,o.A)(this,e),this.usedNamespaces={}}return(0,r.A)(e,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach((function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)}))}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),e}();function d(){return a}},44888:(e,t,n)=>{"use strict";n.d(t,{x:()=>a});var o=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,r={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"\u2026","…":"\u2026","/":"/","/":"/"},i=function(e){return r[e]},a=function(e){return e.replace(o,i)}},98722:(e,t,n)=>{"use strict";n.d(t,{B:()=>d});var o=n(97850),r=n(41705),i=n(60751),a=n(7265),s=n(52807);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function u(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},n=t.i18n,r=(0,i.useContext)(a.gJ)||{},l=r.i18n,d=r.defaultNS,p=n||l||(0,a.TO)();if(p&&!p.reportNamespaces&&(p.reportNamespaces=new a.hz),!p){(0,s.mc)("You will need to pass in an i18next instance by using initReactI18next");var m=function(e){return Array.isArray(e)?e[e.length-1]:e},h=[m,{},!1];return h.t=m,h.i18n={},h.ready=!1,h}p.options.react&&void 0!==p.options.react.wait&&(0,s.mc)("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var g=u(u(u({},(0,a.rV)()),p.options.react),t),f=g.useSuspense,v=g.keyPrefix,y=e||d||p.options&&p.options.defaultNS;y="string"==typeof y?[y]:y||["translation"],p.reportNamespaces.addUsedNamespaces&&p.reportNamespaces.addUsedNamespaces(y);var b=(p.isInitialized||p.initializedStoreOnce)&&y.every((function(e){return(0,s.NM)(e,p,g)}));function E(){return p.getFixedT(null,"fallback"===g.nsMode?y:y[0],v)}var A=(0,i.useState)(E),C=(0,o.A)(A,2),S=C[0],w=C[1],O=y.join(),N=c(O),P=(0,i.useRef)(!0);(0,i.useEffect)((function(){var e=g.bindI18n,t=g.bindI18nStore;function n(){P.current&&w(E)}return P.current=!0,b||f||(0,s.dM)(p,y,(function(){P.current&&w(E)})),b&&N&&N!==O&&P.current&&w(E),e&&p&&p.on(e,n),t&&p&&p.store.on(t,n),function(){P.current=!1,e&&p&&e.split(" ").forEach((function(e){return p.off(e,n)})),t&&p&&t.split(" ").forEach((function(e){return p.store.off(e,n)}))}}),[p,O]);var L=(0,i.useRef)(!0);(0,i.useEffect)((function(){P.current&&!L.current&&w(E),L.current=!1}),[p,v]);var I=[S,p,b];if(I.t=S,I.i18n=p,I.ready=b,b)return I;if(!b&&!f)return I;throw new Promise((function(e){(0,s.dM)(p,y,(function(){e()}))}))}},52807:(e,t,n)=>{"use strict";function o(){if(console&&console.warn){for(var e,t=arguments.length,n=new Array(t),o=0;ol,NM:()=>s,R8:()=>o,dM:()=>a,mc:()=>i});var r={};function i(){for(var e=arguments.length,t=new Array(e),n=0;n2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,o){if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))return!1}}):function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.languages[0],r=!!t.options&&t.options.fallbackLng,i=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;var a=function(e,n){var o=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===o||2===o};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!a(t.isLanguageChangingTo,e)||!t.hasResourceBundle(o,e)&&t.services.backendConnector.backend&&(!t.options.resources||t.options.partialBundledLanguages)&&(!a(o,e)||r&&!a(i,e)))}(e,t,n):(i("i18n.languages were undefined or empty",t.languages),!0)}function l(e){return e.displayName||e.name||("string"==typeof e&&e.length>0?e:"Unknown")}},92001:(e,t,n)=>{"use strict";n.d(t,{C:()=>p});var o=n(41705),r=n(97850),i=n(81515),a=n(60751),s=n(98722),l=n(52807),u=["forwardedRef"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};return function(n){function o(o){var l=o.forwardedRef,c=(0,i.A)(o,u),p=(0,s.B)(e,d(d({},c),{},{keyPrefix:t.keyPrefix})),m=(0,r.A)(p,3),h=m[0],g=m[1],f=m[2],v=d(d({},c),{},{t:h,i18n:g,tReady:f});return t.withRef&&l?v.ref=l:!t.withRef&&l&&(v.forwardedRef=l),(0,a.createElement)(n,v)}o.displayName="withI18nextTranslation(".concat((0,l.Mn)(n),")"),o.WrappedComponent=n;return t.withRef?(0,a.forwardRef)((function(e,t){return(0,a.createElement)(o,Object.assign({},e,{forwardedRef:t}))})):o}}},96421:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var o=n(60751),r=n(25495),i=n(43425);const{STATIC_MEDIA_URL:a}=i,s=({fittingType:e,src:t,target:n,options:o})=>{const r=i.getPlaceholder(e,t,n,{...o,autoEncode:!0});return r?.uri&&!/^[a-z]+:/.test(r.uri)&&(r.uri=`${a}${r.uri}`),r},l=/^[a-z]+:/,u=e=>{const{id:t,containerId:n,uri:i,alt:u,name:c="",role:d,width:p,height:m,displayMode:h,devicePixelRatio:g,quality:f,alignType:v,bgEffectName:y="",focalPoint:b,upscaleMethod:E,className:A="",crop:C,imageStyles:S={},targetWidth:w,targetHeight:O,targetScale:N,onLoad:P=(()=>{}),onError:L=(()=>{}),shouldUseLQIP:I,containerWidth:T,containerHeight:_,getPlaceholder:x,isInFirstFold:D,placeholderTransition:k,socialAttrs:R,isSEOBot:M,skipMeasure:B,hasAnimation:F,allowAnimatedTransform:U}=e,j=o.useRef(null);let G="";const W="blur"===k,H=o.useRef(null);if(!H.current)if(x||I||D||M){const e={upscaleMethod:E,...f||{},shouldLoadHQImage:D,isSEOBot:M,hasAnimation:F,allowAnimatedTransform:U};H.current=(x||s)({fittingType:h,src:{id:i,width:p,height:m,crop:C,name:c,focalPoint:b},target:{width:T,height:_,alignment:v,htmlTag:"img"},options:e}),G=!H.current.transformed||D||M?"":"true"}else H.current={uri:void 0,css:{img:{}},attr:{img:{},container:{}},transformed:!1};const z=!M&&(x||I)&&!D&&H.current.transformed,V=o.useMemo((()=>JSON.stringify({containerId:n,...n&&{containerId:n},...v&&{alignType:v},...B&&{skipMeasure:!0},displayMode:h,...T&&{targetWidth:T},..._&&{targetHeight:_},...w&&{targetWidth:w},...O&&{targetHeight:O},...N&&{targetScale:N},isLQIP:z,isSEOBot:M,lqipTransition:k,imageData:{width:p,height:m,uri:i,name:c,displayMode:h,hasAnimation:F,...f&&{quality:f},...g&&{devicePixelRatio:g},...b&&{focalPoint:b},...C&&{crop:C},...E&&{upscaleMethod:E}}})),[n,v,B,h,_,T,w,O,N,z,M,k,p,m,i,c,f,g,b,C,E,F]),J=H.current,Z=J?.uri,K=J?.srcset,$=J.css?.img,q=`${r.A.image} ${A}`;o.useEffect((()=>{const e=j.current;P&&e?.currentSrc&&e?.complete&&P({target:e})}),[]);const Y=J&&!J?.transformed?`max(${p}px, 100%)`:w?`${w}px`:null;return o.createElement("wow-image",{id:t,class:q,"data-image-info":V,"data-motion-part":"BG_IMG","data-bg-effect-name":y,"data-has-ssr-src":G,"data-animate-blur":!M&&z&&W?"":void 0,style:Y?{"--wix-img-max-width":Y}:{}},o.createElement("img",{src:Z,ref:j,alt:u||"",role:d,style:{...$,...S},onLoad:P,onError:L,...T&&{width:T},..._&&{height:_},...R,...D?{srcSet:K?.dpr?.map((e=>l.test(e)?e:`${a}${e}`)).join(", "),fetchpriority:"high"}:{loading:"lazy"},suppressHydrationWarning:!0}))}},10020:function(e){var t;"undefined"!=typeof self&&self,t=()=>(()=>{"use strict";var e={"../editor-platform-sdk-types/dist/esm/common.js": /*!*******************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/common.js ***! \*******************************************************/(e,t,n)=>{var o,r,i,a;n.r(t),n.d(t,{DeviceType:()=>r,LinkTypes:()=>o,TPAComponentType:()=>i,WidgetInstallationType:()=>a}),function(e){e.NoLink="NoLink",e.PageLink="PageLink",e.AnchorLink="AnchorLink",e.ExternalLink="ExternalLink",e.DocumentLink="DocumentLink",e.PhoneLink="PhoneLink",e.EmailLink="EmailLink",e.LoginToWixLink="LoginToWixLink",e.DynamicPageLink="DynamicPageLink",e.EdgeAnchorLink="EdgeAnchorLinks",e.PopupLink="PopupLink",e.FormSubmitButtonLink="FormSubmitButtonLink"}(o||(o={})),function(e){e.Desktop="desktop",e.Mobile="mobile"}(r||(r={})),function(e){e.Page="PAGE",e.Widget="WIDGET"}(i||(i={})),function(e){e.Open="open",e.Closed="closed"}(a||(a={}))},"../editor-platform-sdk-types/dist/esm/definitions/appEditorApi.js": /*!*************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/appEditorApi.js ***! \*************************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/definitions/appReflow.js": /*!**********************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/appReflow.js ***! \**********************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/definitions/consentPolicy.js": /*!**************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/consentPolicy.js ***! \**************************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/definitions/index.js": /*!******************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/index.js ***! \******************************************************************/(e,t,n)=>{n.r(t),n.d(t,{EditorSubType:()=>i.EditorSubType,EditorType:()=>i.EditorType,InstallInitiator:()=>i.InstallInitiator,InstallationOriginType:()=>i.InstallationOriginType,MediaType:()=>o.MediaType,NotificationPresetTypes:()=>r.NotificationPresetTypes,NotificationType:()=>r.NotificationType,PagesPanelTabType:()=>a.PagesPanelTabType,PanelResolveType:()=>a.PanelResolveType,PanelType:()=>a.PanelType,PremiumIntent:()=>s.PremiumIntent,customizeActions:()=>a.customizeActions}),n(/*! ./appEditorApi */"../editor-platform-sdk-types/dist/esm/definitions/appEditorApi.js"),n(/*! ./consentPolicy */"../editor-platform-sdk-types/dist/esm/definitions/consentPolicy.js");var o=n(/*! ./media */"../editor-platform-sdk-types/dist/esm/definitions/media.js"),r=(n(/*! ./monitoring */"../editor-platform-sdk-types/dist/esm/definitions/monitoring.js"),n(/*! ./notifications */"../editor-platform-sdk-types/dist/esm/definitions/notifications.js")),i=n(/*! ./origin */"../editor-platform-sdk-types/dist/esm/definitions/origin.js"),a=(n(/*! ./pageDefinition */"../editor-platform-sdk-types/dist/esm/definitions/pageDefinition.js"),n(/*! ./panels */"../editor-platform-sdk-types/dist/esm/definitions/panels.js")),s=n(/*! ./premiumIntent */"../editor-platform-sdk-types/dist/esm/definitions/premiumIntent.js");n(/*! ./responsiveLayout */"../editor-platform-sdk-types/dist/esm/definitions/responsiveLayout.js"),n(/*! ./info */"../editor-platform-sdk-types/dist/esm/definitions/info.js"),n(/*! ./appReflow */"../editor-platform-sdk-types/dist/esm/definitions/appReflow.js")},"../editor-platform-sdk-types/dist/esm/definitions/info.js": /*!*****************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/info.js ***! \*****************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/definitions/media.js": /*!******************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/media.js ***! \******************************************************************/(e,t,n)=>{var o;n.r(t),n.d(t,{MediaType:()=>o}),function(e){e.Image="IMAGE",e.Video="VIDEO",e.Document="DOCUMENT"}(o||(o={}))},"../editor-platform-sdk-types/dist/esm/definitions/monitoring.js": /*!***********************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/monitoring.js ***! \***********************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/definitions/notifications.js": /*!**************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/notifications.js ***! \**************************************************************************/(e,t,n)=>{var o,r;n.r(t),n.d(t,{NotificationPresetTypes:()=>r,NotificationType:()=>o}),function(e){e.Success="success",e.Error="error",e.Warning="warning",e.Info="info"}(o||(o={})),function(e){e.REPEATER_EDITOR_MAX_ITEMS="repeaterMaxItemsEditorLimitation"}(r||(r={}))},"../editor-platform-sdk-types/dist/esm/definitions/origin.js": /*!*******************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/origin.js ***! \*******************************************************************/(e,t,n)=>{var o,r,i,a;n.r(t),n.d(t,{EditorSubType:()=>r,EditorType:()=>o,InstallInitiator:()=>i,InstallationOriginType:()=>a}),function(e){e.Classic="CLASSIC",e.Responsive="RESPONSIVE",e.ADI="ADI",e.ADI_MA="ADI_MA",e.ADI_TEMPLATE="ADI_TEMPLATE",e.Blocks="blocks"}(o||(o={})),function(e){e.EditorX="EDITOR_X",e.Studio="STUDIO"}(r||(r={})),function(e){e.Editor="EDITOR",e.App="APP",e.Dependency_Service="Dependency_Service"}(i||(i={})),function(e){e.AppMarket="APP_MARKET",e.AddPanel="ADD_PANEL",e.AppPanel="APP_PANEL",e.PageSettingsPanel="PAGE_SETTINGS_PANEL",e.PresetService="PRESET_SERVICE",e.SITE_CREATION="SITE_CREATION",e.SITE_GENERATION="SITE_GENERATION",e.SILENT_INSTALL_SITE_CREATION="SILENT_INSTALL_SITE_CREATION",e.SILENT_INSTALL="SILENT_INSTALL",e.INTENT_INSTALL="INTENT_INSTALL",e.ADD_SECTION_PANEL="ADD_SECTION_PANEL",e.ADD_PAGE_PANEL="ADD_PAGE_PANEL",e.COPY_PASTE="COPY_PASTE",e.INTRO_FUNNEL="INTRO_FUNNEL",e.PAGES_PANEL="PAGES_PANEL",e.PAGE_SETTINGS_PANEL="PAGE_SETTINGS_PANEL",e.IMPORT_PANEL="IMPORT_PANEL",e.MY_BUSINESS="MY_BUSINESS",e.IFRAME_JS_SDK="IFRAME_JS_SDK",e.UPDATE_PANEL="UPDATE_PANEL"}(a||(a={}))},"../editor-platform-sdk-types/dist/esm/definitions/pageDefinition.js": /*!***************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/pageDefinition.js ***! \***************************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/definitions/panels.js": /*!*******************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/panels.js ***! \*******************************************************************/(e,t,n)=>{var o,r,i,a;n.r(t),n.d(t,{PagesPanelTabType:()=>i,PanelResolveType:()=>r,PanelType:()=>o,customizeActions:()=>a}),function(e){e.Settings="settings",e.Layout="layout",e.Design="design",e.Upgrade="upgrade",e.Add="add"}(o||(o={})),function(e){e.MAIN_ACTION="mainActionClicked",e.SECONDARY_ACTION="secActionClicked",e.CLOSE_ACTION="closeActionClicked"}(r||(r={})),function(e){e.PageInfo="page_info",e.Layout="layout",e.Permissions="permissions",e.SEO="seo"}(i||(i={})),function(e){e.Custom="Custom"}(a||(a={}))},"../editor-platform-sdk-types/dist/esm/definitions/premiumIntent.js": /*!**************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/premiumIntent.js ***! \**************************************************************************/(e,t,n)=>{var o;n.r(t),n.d(t,{PremiumIntent:()=>o}),function(e){e.Neutral="NEUTRAL",e.Free="FREE",e.Paid="PAID"}(o||(o={}))},"../editor-platform-sdk-types/dist/esm/definitions/responsiveLayout.js": /*!*****************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/definitions/responsiveLayout.js ***! \*****************************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/editor-app.js": /*!***********************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/editor-app.js ***! \***********************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/events/EventType.js": /*!*****************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/events/EventType.js ***! \*****************************************************************/(e,t,n)=>{var o;n.r(t),n.d(t,{EventType:()=>o,customEventTypes:()=>r,generalEventTypes:()=>i}),function(e){e.appMenuReorder="appMenuReorder",e.componentDeleted="componentDeleted",e.componentGfppClicked="componentGfppClicked",e.appActionClicked="appActionClicked",e.connectedComponentPasted="connectedComponentPasted",e.connectedComponentDuplicated="connectedComponentDuplicated",e.concurrentPanelEdit="concurrentPanelEdit",e.widgetPasted="widgetPasted",e.widgetDuplicated="widgetDuplicated",e.widgetAdded="widgetAdded",e.controllerAdded="controllerAdded",e.controllerSettingsButtonClicked="controllerSettingsButtonClicked",e.controllerGfppClicked="controllerGfppClicked",e.stateChanged="stateChanged",e.stateAdded="stateAdded",e.stateDuplicated="stateDuplicated",e.pageDeleted="pageDeleted",e.siteWasPublished="siteWasPublished",e.siteWasFirstSaved="siteWasFirstSaved",e.siteWasSaved="siteWasSaved",e.startConfiguration="startConfiguration",e.welcomeSectionMainActionClicked="welcomeSectionMainActionClicked",e.widgetGfppClicked="widgetGfppClicked",e.appUpgradeCompleted="appUpgradeCompleted",e.instanceChanged="instanceChanged",e.componentSelectionChanged="componentSelectionChanged",e.globalDesignPresetChanged="globalDesignPresetChanged",e.developerModeChanged="developerModeChanged",e.developerModeStatusChanged="developerModeStatusChanged",e.focusedPageChanged="focusedPageChanged",e.componentAddedToStage="componentAddedToStage",e.connectedComponentAddedToStage="connectedComponentAddedToStage",e.presetChanged="presetChanged",e.anyComponentAddedToStage="anyComponentAddedToStage",e.appUpdateCompleted="appUpdateCompleted",e.appRefreshCompleted="appRefreshCompleted",e.componentAnimationChanged="componentAnimationChanged",e.componentDataChanged="componentDataChanged",e.componentDesignChanged="componentDesignChanged",e.componentStyleChanged="componentStyleChanged",e.switchedFromPreview="switchedFromPreview",e.componentArrangementChanged="componentArrangementChanged",e.componentDragEnded="componentDragEnded",e.componentResizeStarted="componentResizeStarted",e.componentRotateEnded="componentRotateEnded",e.sitePublishedDialogClosed="sitePublishedDialogClosed",e.pageBackgroundChanged="pageBackgroundChanged",e.mobileTextScaleChanged="mobileTextScaleChanged",e.componentCropSaved="componentCropSaved",e.toggleBackToTopButtonOn="toggleBackToTopButtonOn",e.componentBehaviorChanged="componentBehaviorChanged",e.componentPropsChanged="componentPropsChanged",e.switchedToMobileView="switchedToMobileView",e.switchedToDesktopView="switchedToDesktopView",e.textEditBoxClosed="textEditBoxClosed",e.hideMobileElement="hideMobileElement",e.showMobileElement="showMobileElement",e.pageRenamed="pageRenamed",e.addDynamicPageClicked="addDynamicPageClicked",e.consentPolicyChanged="consentPolicyChanged",e.pageDuplicated="pageDuplicated",e.pageAdded="pageAdded",e.undo="undo",e.redo="redo",e.addElementsCompClicked="addElementsCompClicked",e.addElementsAllCompsClicked="addElementsAllCompsClicked",e.addElementsResetClicked="addElementsResetClicked",e.appVisitedInDashboard="appVisitedInDashboard",e.componentAddedToApp="componentAddedToApp",e.documentOperationError="documentOperationError",e.solveAddWidgetLimitation="solveAddWidgetLimitation",e.componentConnected="componentConnected",e.componentDisconnected="componentDisconnected",e.panelHeaderButtonClicked="panelHeaderButtonClicked",e.themeChanged="themeChanged",e.viewStateChanged="viewStateChanged",e.revokeApp="revokeApp",e.grantApp="grantApp",e.pageVariantSelected="pageVariantSelected",e.resetWidgetOverrides="resetWidgetOverrides",e.widgetPluginAdded="widgetPluginAdded",e.widgetPluginRemoved="widgetPluginRemoved",e.appInstalled="appInstalled",e.removeAppCompleted="removeAppCompleted",e.siteLanguageChanged="siteLanguageChanged"}(o||(o={}));const r=[o.componentSelectionChanged,o.focusedPageChanged,o.anyComponentAddedToStage,o.appUpdateCompleted,o.componentAnimationChanged,o.componentDataChanged,o.componentDesignChanged,o.componentStyleChanged,o.switchedFromPreview,o.componentArrangementChanged,o.componentDragEnded,o.componentResizeStarted,o.componentRotateEnded,o.sitePublishedDialogClosed,o.pageBackgroundChanged,o.mobileTextScaleChanged,o.componentCropSaved,o.toggleBackToTopButtonOn,o.componentBehaviorChanged,o.appRefreshCompleted,o.componentPropsChanged,o.switchedToMobileView,o.switchedToDesktopView,o.textEditBoxClosed,o.hideMobileElement,o.showMobileElement,o.undo,o.redo,o.appVisitedInDashboard,o.developerModeStatusChanged,o.componentConnected,o.componentDisconnected,o.solveAddWidgetLimitation,o.pageDuplicated,o.pageAdded,o.themeChanged,o.viewStateChanged,o.pageVariantSelected,o.siteLanguageChanged],i=[o.appMenuReorder,o.componentDeleted,o.componentGfppClicked,o.appActionClicked,o.connectedComponentPasted,o.connectedComponentDuplicated,o.concurrentPanelEdit,o.widgetPasted,o.widgetDuplicated,o.widgetAdded,o.resetWidgetOverrides,o.widgetPluginAdded,o.widgetPluginRemoved,o.controllerAdded,o.controllerSettingsButtonClicked,o.controllerGfppClicked,o.presetChanged,o.stateChanged,o.stateAdded,o.stateDuplicated,o.pageDeleted,o.siteWasPublished,o.siteWasFirstSaved,o.siteWasSaved,o.startConfiguration,o.welcomeSectionMainActionClicked,o.widgetGfppClicked,o.appUpgradeCompleted,o.instanceChanged,o.globalDesignPresetChanged,o.developerModeChanged,o.connectedComponentAddedToStage,o.pageRenamed,o.addDynamicPageClicked,o.consentPolicyChanged,o.addElementsCompClicked,o.addElementsAllCompsClicked,o.addElementsResetClicked,o.componentAddedToApp,o.documentOperationError,o.panelHeaderButtonClicked,o.grantApp,o.revokeApp,o.appInstalled,o.removeAppCompleted]},"../editor-platform-sdk-types/dist/esm/events/EventsInterfaceMap.js": /*!**************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/events/EventsInterfaceMap.js ***! \**************************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/events/eventInterfaces.js": /*!***********************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/events/eventInterfaces.js ***! \***********************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/events/index.js": /*!*************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/events/index.js ***! \*************************************************************/(e,t,n)=>{n.r(t),n.d(t,{EventType:()=>o.EventType,customEventTypes:()=>o.customEventTypes,generalEventTypes:()=>o.generalEventTypes}),n(/*! ./eventInterfaces */"../editor-platform-sdk-types/dist/esm/events/eventInterfaces.js");var o=n(/*! ./EventType */"../editor-platform-sdk-types/dist/esm/events/EventType.js");n(/*! ./EventsInterfaceMap */"../editor-platform-sdk-types/dist/esm/events/EventsInterfaceMap.js")},"../editor-platform-sdk-types/dist/esm/index.js": /*!******************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/index.js ***! \******************************************************/(e,t,n)=>{n.r(t),n.d(t,{DeviceType:()=>r.DeviceType,EditorSubType:()=>i.EditorSubType,EditorType:()=>i.EditorType,EventType:()=>a.EventType,InstallInitiator:()=>i.InstallInitiator,InstallationOriginType:()=>i.InstallationOriginType,LinkTypes:()=>r.LinkTypes,MediaType:()=>i.MediaType,MemberKind:()=>o.MemberKind,NotificationPresetTypes:()=>i.NotificationPresetTypes,NotificationType:()=>i.NotificationType,PagesPanelTabType:()=>i.PagesPanelTabType,PanelResolveType:()=>i.PanelResolveType,PanelType:()=>i.PanelType,PremiumIntent:()=>i.PremiumIntent,TPAComponentType:()=>r.TPAComponentType,WidgetInstallationType:()=>r.WidgetInstallationType,customEventTypes:()=>a.customEventTypes,customizeActions:()=>i.customizeActions,generalEventTypes:()=>a.generalEventTypes}),n(/*! ./editor-app */"../editor-platform-sdk-types/dist/esm/editor-app.js");var o=n(/*! ./manifest */"../editor-platform-sdk-types/dist/esm/manifest.js"),r=n(/*! ./common */"../editor-platform-sdk-types/dist/esm/common.js"),i=n(/*! ./definitions */"../editor-platform-sdk-types/dist/esm/definitions/index.js"),a=n(/*! ./events */"../editor-platform-sdk-types/dist/esm/events/index.js");n(/*! ./tpaStyleParams */"../editor-platform-sdk-types/dist/esm/tpaStyleParams.js"),n(/*! ./sdk */"../editor-platform-sdk-types/dist/esm/sdk/index.js")},"../editor-platform-sdk-types/dist/esm/manifest.js": /*!*********************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/manifest.js ***! \*********************************************************/(e,t,n)=>{var o;n.r(t),n.d(t,{MemberKind:()=>o}),function(e){e.MEMBER="member",e.FUNCTION="function"}(o||(o={}))},"../editor-platform-sdk-types/dist/esm/sdk/app-settings.js": /*!*****************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/app-settings.js ***! \*****************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/sdk/document/application.js": /*!*************************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/document/application.js ***! \*************************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/sdk/document/index.js": /*!*******************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/document/index.js ***! \*******************************************************************/(e,t,n)=>{n.r(t),n(/*! ./application */"../editor-platform-sdk-types/dist/esm/sdk/document/application.js")},"../editor-platform-sdk-types/dist/esm/sdk/editor/index.js": /*!*****************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/editor/index.js ***! \*****************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/sdk/editorSDK.js": /*!**************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/editorSDK.js ***! \**************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/sdk/event-listeners.js": /*!********************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/event-listeners.js ***! \********************************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/sdk/extra.js": /*!**********************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/extra.js ***! \**********************************************************/(e,t,n)=>{n.r(t)},"../editor-platform-sdk-types/dist/esm/sdk/index.js": /*!**********************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/sdk/index.js ***! \**********************************************************/(e,t,n)=>{n.r(t),n(/*! ./editorSDK */"../editor-platform-sdk-types/dist/esm/sdk/editorSDK.js"),n(/*! ./extra */"../editor-platform-sdk-types/dist/esm/sdk/extra.js"),n(/*! ./event-listeners */"../editor-platform-sdk-types/dist/esm/sdk/event-listeners.js"),n(/*! ./editor */"../editor-platform-sdk-types/dist/esm/sdk/editor/index.js"),n(/*! ./app-settings */"../editor-platform-sdk-types/dist/esm/sdk/app-settings.js"),n(/*! ./document */"../editor-platform-sdk-types/dist/esm/sdk/document/index.js")},"../editor-platform-sdk-types/dist/esm/tpaStyleParams.js": /*!***************************************************************!*\ !*** ../editor-platform-sdk-types/dist/esm/tpaStyleParams.js ***! \***************************************************************/(e,t,n)=>{n.r(t)}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o](i,i.exports,n),i.exports}n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={}; /*!******************!*\ !*** ./index.ts ***! \******************/n.r(o),n.d(o,{DeviceType:()=>r.DeviceType,EditorSubType:()=>r.EditorSubType,EditorType:()=>r.EditorType,EventType:()=>r.EventType,InstallInitiator:()=>r.InstallInitiator,InstallationOriginType:()=>r.InstallationOriginType,LinkTypes:()=>r.LinkTypes,MediaType:()=>r.MediaType,MemberKind:()=>r.MemberKind,NotificationPresetTypes:()=>r.NotificationPresetTypes,NotificationType:()=>r.NotificationType,PagesPanelTabType:()=>r.PagesPanelTabType,PanelResolveType:()=>r.PanelResolveType,PanelType:()=>r.PanelType,PremiumIntent:()=>r.PremiumIntent,TPAComponentType:()=>r.TPAComponentType,WidgetInstallationType:()=>r.WidgetInstallationType,customEventTypes:()=>r.customEventTypes,customizeActions:()=>r.customizeActions,generalEventTypes:()=>r.generalEventTypes});var r=n(/*! @wix/editor-platform-sdk-types */"../editor-platform-sdk-types/dist/esm/index.js");return o})(),e.exports=t()},90269:(e,t,n)=>{"use strict";n.d(t,{P1:()=>a,lo:()=>i,nb:()=>r});var o=n(60751);const r=(0,o.createContext)(void 0),i=(0,o.createContext)({}),a=(0,o.createContext)("")},47543:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var o=n(60751),r=n.n(o),i=n(90269);const a={HIGHLIGHTED:"highlighted"},s=new RegExp(/-(?=[^-]*$)/),l=e=>{const[t,n]=e.split(s),o=Object.values(a).includes(n);return{slotId:o?t:e,slotState:o?n:""}};function u(e){return t=>{const{slots:n,compPreviewState:a,id:s,...u}=t,c=(0,o.useMemo)((()=>{if(!a)return{};const{slotId:e,slotState:t}=l(a);return{[e]:t}}),[a]);return r().createElement(i.P1.Provider,{value:s},r().createElement(i.nb.Provider,{value:n},r().createElement(i.lo.Provider,{value:c},r().createElement(e,{...u}))))}}},19635:(e,t,n)=>{e.exports=n(75403)},26179:(e,t,n)=>{e.exports=n(16252).cloneDeep},77172:(e,t,n)=>{e.exports=n(16252).memoize},65259:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});const o={FIX_MOBILE_HEADER_STYLING:"specs.wixBlog.mobileHeaderStyling",REMOVE_CATEGORY_TITLE:"specs.wixBlog.RemoveCategoryTitle",REMOVE_CATEGORIES_LIVE_SITE_EDITING:"specs.wixBlog.RemoveCategoriesLiveSiteEditing",FIX_MY_POSTS_USER_ID:"specs.wixBlog.FixMyPostsUserId",POST_LIST_WIDGET_USE_ADAPTER:"specs.wixBlog.PostListWidgetUseAdapter",FIX_BLURRY_IMAGE:"specs.wixBlog.FixBlurryImage",CATEGORY_SEO_PLATFORMIZED:"specs.wixBlog.GenerateCategorySEOTagsPlatformized",INSTALL_SEARCH:"specs.wixBlog.InstallSearch",CATEGORY_HEADER:"specs.wixBlog.CategoryHeader"}},20988:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(98722),l=n(10397),u=n(23270),c=n(39835);const d=e=>{let{count:t,countFormatted:n,showZero:o=!1}=e;const{t:i}=(0,s.B)(),{iconColorClassName:d}=(0,c.A)();return r().createElement(l.A,{dataHook:"comment-count-compact",ariaHidden:!0,count:t,countFormatted:n,showZero:o,tabIndex:0},r().createElement(u.T,{title:i("comment-count.label",{count:t,numberFormatted:n}),className:a()(d,"blog-link-hover-fill")}))}},35492:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var o=n(60751);const r="CqOQfS",i="blog-al-active",a=()=>{const[e,t]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(!document.body.classList.contains(i))return t(!0),document.body.classList.add(i),document.body.classList.add(r),document.addEventListener("keyup",n),document.addEventListener("click",a),()=>{e&&document.body.classList.remove(i),e&&(document.removeEventListener("keyup",n),document.removeEventListener("click",a))}}),[]);const n=e=>{9===e.which&&document.body.classList.contains(r)&&document.body.classList.remove(r)},a=()=>{document.body.classList.contains(r)||document.body.classList.add(r)};return null}},54809:(e,t,n)=>{"use strict";n.d(t,{a:()=>i});var o=n(60751);const r=()=>null,i=n.n(o)().createContext({PostListProGallery:r,PostListSimple:r,PostListMasonry:r,PostListMobile:r,PostListItem:r,Post:r,SideBySideMobile:r,TextOnImageMobile:r})},94481:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(60751),r=n.n(o),i=n(54809);const a=()=>null,s=e=>{let{children:t,PostListProGallery:n=a,PostListSimple:o=a,PostListMasonry:s=a,PostListMobile:l=a,PostListItem:u=a,Post:c=a,SideBySideMobile:d=a,TextOnImageMobile:p=a}=e;return r().createElement(i.a.Provider,{value:{PostListProGallery:n,PostListSimple:o,PostListMasonry:s,PostListMobile:l,PostListItem:u,Post:c,SideBySideMobile:d,TextOnImageMobile:p}},r().Children.only(t))}},93959:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(34314),l=n(16979),u=n.n(l),c=n(38799);const d=(0,s.iB)((e=>{const t=e.as??"span",n=r().useRef(null);return(0,o.useLayoutEffect)((()=>{if(e.clamp&&n.current){if(r().Children.count(e.children)>1)throw new Error("Please provide exacly one child to dotdotdot");u()(n.current,{clamp:e.clamp,useExactLineHeight:e.useExactLineHeight,useNativeClamp:!0,truncationChar:"\u2026"})}}),[e]),r().createElement(t,{ref:n,className:a()(c.A.root,e.className)},e.children)}))},73428:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(93959)},94397:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(96421),l=n(79170),u=n(85574),c=n(64061);const d=e=>{let{image:t,size:n,ariaLabel:o}=e;const i=(0,l.Oh)(t)??(t&&"url"in t?t.url:void 0);return i?r().createElement(s._,{alt:o,className:a()(c.A.container,"fluid-avatar-image"),uri:i,displayMode:"fill",width:n,height:n,targetWidth:n,targetHeight:n,"data-hook":"avatar-image"}):r().createElement("span",{"aria-label":o,className:a()(c.A.container,"fluid-avatar-image"),"data-hook":"avatar-image"},r().createElement(u.V,{className:c.A.placeholder}))}},31429:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(94397)},89799:(e,t,n)=>{"use strict";n.d(t,{_:()=>u});var o=n(60751),r=n.n(o),i=n(96421),a=n(79170),s=n(72859),l=n(20915);const u=e=>{const t=(0,l.d4)(s.ah),n=(0,a.Oh)(e.image);return n?r().createElement(i._,{uri:n,width:e.width??e.image.width,height:e.height??e.image.height,alt:e.image.alt,placeholderTransition:t?void 0:"blur",socialAttrs:e.socialAttrs,className:e.className,displayMode:e.displayMode??"fill"}):null}},29741:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(72859),l=n(20915);const u=e=>{let{path:t,sectionId:n,children:o,onClick:i,...u}=e;const c=(0,l.d4)(s.IC),d=(0,l.dN)();return a().createElement("a",r()({},u,{onClick:e=>{if(!c&&n)return e.preventDefault(),void d.navigateToSectionInPreview(t,n);null==i||i()}}),o)}},78488:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(16252),c=n(91158),d=n(52688),p=n(29741),m=n(11888);const h=e=>{let{categoryLink:t,categoryPath:n,children:o,...i}=e;return a().createElement(p.A,r()({},i,{href:t,path:`${c.uK}/${(0,u.trimStart)(n,"/")}`,sectionId:d.Jl,className:l()(m.A.category,i.className)}),o)}},91165:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(52688),l=n(9814),u=n(22551),c=n(22697),d=n(72859),p=n(87007),m=n(20915),h=n(87439);const g=e=>{let{addHoverClasses:t=!0,children:n,className:o,sectionId:i,to:g,fullRoute:f,as:v="a",isActive:y,onNavigation:b}=e;const E=(0,m.d4)(d.IC),A=(0,m.d4)(p.og),C=(0,m.dN)(),S=i===s.Jl||(0,c.v)(g),w=S?s.Jl:s.aj,O=f||(0,l.H)({topology:A,to:g,shouldNavigateToFeed:S}),N=a()(t&&"blog-link-hover-color",o);return"button"===v?r().createElement("button",{"aria-current":y?"page":void 0,onClick:()=>{C.navigateWithinBlog((0,u.o)({route:O,topology:A,shouldNavigateToFeed:S}),{disableScrollToTop:!0}),null==b||b()},className:a()(N,h.A.noScrollButton)},n):r().createElement("a",{href:O,onClick:e=>{E||(e.preventDefault(),C.navigateInPreview(O,w)),null==b||b()},className:N,"data-hook":"link"},n)}},99172:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(16252);const l=e=>{e.stopPropagation(),e.preventDefault()},u=e=>{let{children:t,...n}=e;const o=(0,s.omit)(n,["user","tReady","lng"]);return a().createElement("span",r()({style:{pointerEvents:"none"}},o,{onClick:l}),t)}},16202:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(52688),l=n(29741);const u=e=>{let{postLink:t,postPath:n,children:o,...i}=e;return a().createElement(l.A,r()({},i,{href:t,path:n,sectionId:s.aj}),o)}},69837:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(60751),r=n.n(o),i=n(47061),a=n(11833),s=n(94093),l=n(20915),u=n(99172),c=n(39191);const d=(0,i.A)((0,a.A)((e=>{let{user:t,className:n,children:o}=e;const i=(0,l.dN)(),a=(0,l.d4)((e=>(0,s.$)(e,t)));return r().createElement(c.A,{onClick:e=>{e.preventDefault(),i.navigateToProfile(null==t?void 0:t.siteMemberId,null==t?void 0:t.slug)},"data-hook":"profile-link",href:a,className:n},o)})),u.A)},39191:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(16252),l=n(87007),u=n(20915);const c=e=>{let{to:t,children:n,...o}=e;const i=(0,u.d4)(l.$_);return a().createElement("a",r()({href:`${(0,s.trimEnd)(i,"/")}${t}`},o),n)}},60879:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(60751),r=n.n(o),i=n(16122),a=n(72304),s=n(67606),l=n(72859),u=n(20915);const c=e=>{const t=r().useRef({page:e,pageStart:e});return(0,o.useEffect)((()=>{e!==t.current.pageStart&&(t.current={page:e,pageStart:e})}),[e]),t},d=e=>{let{hasMore:t=!1,pageStart:n=2,threshold:d=250,children:p,loader:m,isLoading:h,loadMore:g}=e;const[f,v]=r().useState(!1),y=c(n),{componentId:b,isSite:E,isPreview:A}=(0,u.d4)(((e,t)=>({isSite:(0,l.IC)(e),isPreview:(0,l.bU)(e),componentId:t.id}))),C=(0,o.useCallback)((()=>{h||f||(v(!0),Promise.resolve(null==g?void 0:g(y.current.page)).then((()=>{v(!1)})),y.current.page++)}),[f,h,y,g]),S=(0,o.useCallback)((e=>{const n=(0,s.A)();if(!t||h||f||(0,i.f)()||!n)return!1;return e.scrollTop+e.documentHeight+d>=n.scrollHeight+e.y}),[t,h,f,d]),w=(0,o.useCallback)((()=>{if(!t||h||f||(0,i.f)())return!1;const e=window.document.getElementById(b);if(null==e)return!1;const{height:n,top:o}=e.getBoundingClientRect();return window.innerHeight+d>n+o}),[b,t,f,h,d]),O=(0,o.useCallback)((e=>{(E||A?w():S(e))&&C()}),[C,A,E,w,S]);return(0,o.useEffect)((()=>{!(!E&&!A)&&w()&&C()}),[]),(0,a.A)(O),r().createElement("div",null,p,t&&(h||f)&&m)}},70891:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var o=n(16252);const r=(0,o.once)((async()=>(await n.e(4287).then(n.bind(n,14315))).default))},45456:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(67843)},67843:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(7425),l=n(83865),u=n(87007),c=n(78488),d=n(20915),p=n(45875);const m=e=>{let{post:t,postListLayout:n,className:o}=e;const{mainCategory:i,mainCategoryDisplayLabel:m,mainCategoryLink:h,isCategoryLabelLayoutText:g,isCategoryLabelUpperCase:f,useMobileSettings:v,categoryLabelClicked:y}=(0,d.d4)(((e,n,o)=>({mainCategory:(0,l.Ek)(e,t),mainCategoryDisplayLabel:(0,l.md)(e,t),mainCategoryLink:(0,l.MA)(e,t,(0,u.og)(e)),isCategoryLabelLayoutText:(0,s.ip)(e),isCategoryLabelUpperCase:(0,s.TZ)(e),useMobileSettings:(0,s.Wb)(e),categoryLabelClicked:o.categoryLabelClicked}))),b=f?null==m?void 0:m.toUpperCase():m;if(!b||!h||null==i||!i.slug)throw new Error("Category is missing label or link");const E=a()([p.A.container,p.A[n],o]),A=a()([p.A.link,v&&p.A.mobile,g?p.A.categoryLabelText:p.A.categoryLabelButton]);return r().createElement("div",{className:E,"data-hook":"post-category-label"},r().createElement(c.A,{categoryLink:h,categoryPath:i.slug,className:A,onClick:()=>y(i)},b))}},17270:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(68701),l=n(97869),u=n(77445),c=n(70891),d=n(54138),p=n(78347);const m=e=>{let{moreButtonClass:t,moreButtonIcon:n,post:o,showHeaderIcons:i=!0,showMoreButton:m=!0,type:h,visibleActions:g}=e;const f={id:`more-button-${(0,s.S)(o)}`,...n?{icon:n}:{}};return r().createElement("div",{className:a()(p.A.postOptions,l.A.options)},i?r().createElement(d.A,{post:o,className:p.A.icons,iconClassName:"blog-button-fill"}):r().createElement("div",{className:p.A.icons}),r().createElement("div",{className:a()(p.A.moreButton,p.A[h],"blog-more-icon-fill",t)},m&&r().createElement(u.e,f,(async()=>{const e=await(0,c.x)();return r().createElement(e,{post:o,visibleActions:g})}))))}},59691:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(98532),l=n(1998),u=n(97869),c=n(64198),d=n(69837),p=n(17270),m=n(78347);const h=e=>{let{className:t,moreButtonClass:n,moreButtonIcon:o,post:i,hideAuthorBadge:h,showHeaderIcons:g=!0,showMoreButton:f=!0,showProfileImage:v=!0,style:y,type:b,visibleActions:E}=e;const{showAuthorName:A,showAuthorBadge:C,showAuthorPicture:S,showPublishDate:w,isMetadataHeaderVisible:O,showCategoryLabel:N,showReadingTime:P}=(0,l.M)({post:i,hideAuthorBadge:h}),L=!O,I=a()(m.A.container,m.A[b],"blog-post-metadata-font","post-header",L&&m.A.withoutHeaderMetadata,t,N&&m.A.withCategoryLabel,A&&(w||P||S)&&m.A.spacingBottom);return r().createElement("div",{className:I,style:y},r().createElement("div",{className:a()([m.A.metadata,f&&m.A.withThreeDots,u.A.metadataContainer])},O&&r().createElement(r().Fragment,null,A&&v&&S&&r().createElement("div",{className:u.A.avatar},r().createElement(d.A,{user:i.owner},r().createElement(c.A,{user:i.owner,isNameVisible:!1}))),r().createElement(s.A,{post:i,type:b,className:u.A.postDetails,showAuthorName:A,showAuthorBadge:C,showPublishDate:w,showReadingTime:P}))),(g||f)&&r().createElement(p.A,{moreButtonClass:n,moreButtonIcon:o,post:i,showHeaderIcons:g,showMoreButton:f,type:b,visibleActions:E}))}},34314:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>c,N:()=>s,iB:()=>u});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=()=>(0,i.useContext)(l),l=(0,i.createContext)({rootWidth:void 0});function u(e){return t=>{const n=s();return a().createElement(e,r()({},t,n))}}const c=l},87365:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(51808);const r=e=>(0,o.Ng)(((t,n)=>e(t.state,n,t.actions,t.host,t.workerReady)),{})},20915:(e,t,n)=>{"use strict";n.d(t,{Ng:()=>o.A,d4:()=>i.A,dN:()=>r.A});var o=n(87365),r=n(46582),i=n(64744)},46582:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(51808);const r=()=>(0,o.d4)((e=>e.actions))},64744:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(51808);const r=e=>(0,o.d4)((t=>e(t.state,t.host,t.actions)))},46359:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(44965)},44965:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(98722);const l=e=>{let{minutes:t,isShortLabel:n,children:o,...i}=e;const{t:l}=(0,s.B)();if("number"!=typeof t)return null;const u=l(n?"time-to-read.short-label":"time-to-read.label",{minutes:t});return a().createElement("span",r()({},i,{title:u,"data-hook":"time-to-read"}),u)}},66818:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(75155)},75155:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(98722),l=n(31429),u=n(21243);const c=e=>2*parseInt(e,10),d={large:c(u.A.IMAGE_SIZE_LARGE),extraLarge:c(u.A.IMAGE_SIZE_EXTRA_LARGE),promote:c(u.A.IMAGE_SIZE_PROMOTE),widget:c(u.A.IMAGE_SIZE_WIDGET),comment:c(u.A.IMAGE_SIZE_COMMENT),commentSearch:c(u.A.IMAGE_SIZE_COMMENT_SEARCH)},p=c(u.A.IMAGE_SIZE_DEFAULT),m=e=>{let{className:t,type:n,user:o}=e;const i=(n&&d[n])??p,[c]=(0,s.B)();return r().createElement("span",{className:a()(u.A.image,n&&u.A[n],t,"avatar-image")},r().createElement(l.A,{ariaLabel:c("aria-label.authors-picture"),image:null==o?void 0:o.image,size:i}))}},76986:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(48275)},48275:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(60751),r=n.n(o),i=n(98722),a=n(27101),s=n(30316),l=n(48334);const u=e=>{let{user:t}=e;const{t:n}=(0,i.B)(),o=(0,s.u)(t),u=(0,a.n)({t:n,role:o});return o?r().createElement(l.A,{role:o,ariaLabel:u}):null}},75808:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(55991)},55991:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(58175);const l=e=>{let{name:t,className:n}=e;return r().createElement("span",{title:t,className:a()(s.A.container,"user-name",n),"data-hook":"user-name"},t)}},89460:(e,t,n)=>{"use strict";n.d(t,{K:()=>l,l:()=>s});var o=n(60751),r=n.n(o),i=n(83202);const a=r().createContext(null);function s(e){const t=r().useRef(null);return r().createElement(a.Provider,{value:t.current},e.children,r().createElement("div",{ref:t,"data-hook":"tooltip-portal"}))}function l(e){return function(){const e=(0,o.useContext)(a);return{createPortal:t=>e?(0,i.createPortal)(t,e):null}}().createPortal(e.children)}},22298:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(60751),r=n.n(o),i=n(35002);const a=function(e,t){return(0,i.A)((n=>{let{isMobile:o,isDesktop:i,...a}=n;const s=o?e:t;return r().createElement(s,a)}))}},47061:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(60751),r=n.n(o),i=n(20915),a=n(85467);const s=function(e,t){return n=>{const o=(0,i.d4)(a.g)?e:t;return r().createElement(o,n)}}},11833:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(60751),r=n.n(o),i=n(30223),a=n(99172);const s=function(e,t){return void 0===t&&(t=a.A),n=>{var o;return(null==(o=n.user)?void 0:o.privacyStatus)===i.g?r().createElement(t,n):r().createElement(e,n)}}},6899:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(58486),l=n.n(s),u=n(16252),c=n(56040),d=n(20915),p=n(81809),m=n(72859),h=n(85467);const g=(0,d.Ng)(((e,t,n)=>({showJoinCommunityPopup:n.showJoinCommunityPopup,currentUser:(0,c.HW)(e),isAuthenticated:(0,p.w)(e),isBlocked:(0,c.lT)(e),isOwner:(0,c.u8)(e),isPrivate:(0,c.Gw)(e),__isMemberAreaActive:(0,h.g)(e),__isSite:(0,m.IC)(e)}))),f=function(e){class t extends i.Component{constructor(){var e;super(...arguments),e=this,r()(this,"forPublicUser",((e,t)=>this.props.__isMemberAreaActive&&this.props.__isSite?this.decorateWithPrivacyChecker(e,t):e)),r()(this,"decorateWithPrivacyChecker",(function(t,n){let{preventDefault:o=!1}=void 0===n?{}:n;return function(){for(var n=arguments.length,r=new Array(n),i=0;i{"use strict";n.d(t,{A:()=>d});var o=n(16252),r=n(74740),i=n(67957),a=n(20915),s=n(51880),l=n(91157),u=n(44574);const c=(0,a.Ng)(((e,t)=>{let{layoutType:n,section:a}=t;return{borderWidth:(0,r.gc)(n)?0:(0,o.get)((0,s.tl)(e),(0,i.Yu)(n,a),1)}})),d=(0,o.flowRight)((0,u.A)(),c,(0,l.A)("WithCardBorderWidth"))},35002:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(20915),r=n(72859);const i=(0,o.Ng)((e=>{const t=(0,r.Ny)(e);return{isMobile:t,isDesktop:!t}}));const a=function(e){return i(e)}},96675:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(16252),r=n(34672),i=n(17617),a=n(58632),s=n(57827),l=n(20915),u=n(76058),c=n(83865),d=n(53593),p=n(91157);const m=(0,l.Ng)(((e,t)=>{const n=(0,d.s)(e),o=!n&&((0,r.TH)(e)?(0,r.Wv)(e):(0,u.Cj)(e)),l=!n&&(0,u.qe)(e),p=!n&&(0,u.an)(e),m=!n&&(0,u.p0)(e),h=!n&&(0,u.I)(e),g=o&&(0,u.mI)(e),f=!n&&(0,u.sB)(e),v=(0,u.Gs)(e),y=(0,u.yY)(e),b=(0,u.dE)(e),E=(0,u.fB)(e),A=(0,u.oy)(e),C=(0,u.TR)(e),S=(0,u.p2)(e),w=(0,u.EW)(e,t.section),O=y!==i.WB;return{showComments:o,showRecentPosts:l,showViewCount:h,showCommentCount:g,showLikeCount:f,showAuthorName:v,showAuthorPicture:(0,u.X8)(e,O),showAuthorBadge:!t.hideAuthorBadge&&(0,u.cx)(e),authorInfoType:y,showPostUpdatedDate:b,showCategoryLabels:E,showPostTitle:A,showPublishDate:C,showReadingTime:S,showPostDescription:w,showMoreOptionsMenu:(0,u._)(e),showCategoryLabel:(0,c.Ek)(e,t.post)&&(0,u.Oc)(e),isMetadataFooterVisible:!n&&(h||g||f),isMetadataHeaderVisible:v||C||S,showRelatedPosts:p,relatedPostsLabelKey:m,showPostRating:(0,a.b)(e,s.Km)&&(0,u.jd)(e)}})),h=(0,o.flowRight)(m,(0,p.A)("WithFeedMetadataSettings"))},6527:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(16252),r=n(54558),i=n(20915),a=n(91157);const s=(0,i.Ng)((e=>({titleFontClassName:"blog-post-title-font",contentFontClassName:(0,r.Ym)(e)?"blog-post-page-font":"blog-post-description-font",contentFontClassNameWithStyle:"blog-post-description-style-font"}))),l=(0,o.flowRight)(s,(0,a.A)("WithFontClassName"))},91157:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(30987);const r=e=>t=>(t.displayName=(0,o.A)(e,t),t)},44574:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(16252),r=n(82314),i=n(74740),a=n(20915),s=n(25927),l=n(1408),u=n(14509),c=n(91157);const d=e=>(t,n)=>{var o;const a=n.section||(0,l.S)(t,e),c=n.mobileLayoutType||(0,s.NS)(t,a,!0);let d=n.layoutType||(0,s.NS)(t,a);return!(0,s.Ez)(t)&&d&&(null==(o=(0,u.jE)(d))?void 0:o.listComponentName)===r.fR&&(d=i.z5),{section:a,layoutType:d,mobileLayoutType:c,layoutName:(0,i.Sv)(d),mobileLayoutName:(0,i.Sv)(c)}};function p(e){let{fallbackEnabled:t=!0}=void 0===e?{}:e;return(0,o.flowRight)((0,a.Ng)(d(t)),(0,c.A)("WithLayoutProps"))}},58569:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(58486),l=n.n(s),u=n(88604),c=n(30987),d=n(62034);const p=function(e){const t=t=>a().createElement(u.d.Consumer,null,(n=>a().createElement(e,r()({permissions:n},(0,d.A)(n),t))));return t.displayName=(0,c.A)("WithPermissions",e),l()(t,e),t}},16673:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(92001);const r=e=>(0,o.C)()(e)},39132:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(60751),r=n(56040),i=n(20915),a=n(81809),s=n(72859),l=n(85467);function u(){const e=(0,i.dN)(),t=(0,i.d4)(r.HW),n=(0,i.d4)(a.w),u=(0,i.d4)(r.lT),c=(0,i.d4)(r.u8),d=(0,i.d4)(r.Gw),p=(0,i.d4)(l.g),m=(0,i.d4)(s.IC),h=(0,o.useCallback)((function(t,o){let{preventDefault:r=!1}=void 0===o?{}:o;return function(){for(var o=arguments.length,i=new Array(o),a=0;ap&&m?h(e,t):e),[p,m,h]);return{currentUser:t,isAuthenticated:n,isBlocked:u,isOwner:c,isPrivate:d,forPublicUser:g}}},82698:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(16252),r=n(74740),i=n(67957),a=n(20915),s=n(51880),l=n(86579);const u=e=>{const t=(0,l.A)(e),n=(0,a.d4)((e=>{if((0,r.gc)(t.layoutType))return 0;const n=(0,s.tl)(e),a=(0,i.Yu)(t.layoutType,t.section);return(0,o.get)(n,a,1)}));return{...t,borderWidth:n}}},32860:(e,t,n)=>{"use strict";n.d(t,{e:()=>m});var o=n(3790),r=n(74740),i=n(20915),a=n(51880),s=n(76058),l=n(25927),u=n(1408),c=n(72859),d=n(82698),p=n(27342);function m(e){const{borderWidth:t}=(0,d.A)(e),{applyFeedDesign:n}=(0,p.A)(null==e?void 0:e.section);return(0,i.d4)((e=>{const i=(0,u.S)(e)||o.ti,d=(0,r.Sv)((0,l.NS)(e,i,(0,c.Ny)(e))),p=(0,s.bu)(e),m=(0,r.NN)(d)?0:(0,a.uD)(e,p?`post-${i}-mobile-borderWidth`:`post-${i}-borderWidth`);return{borderWidth:n?m:t}}))}},1998:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var o=n(34672),r=n(17617),i=n(58632),a=n(57827),s=n(20915),l=n(76058),u=n(89532),c=n(83865);const d=e=>(0,s.d4)((t=>{const n=(0,u.s)(t),s=!n&&((0,o.TH)(t)?(0,o.Wv)(t):(0,l.Cj)(t)),d=!n&&(0,l.qe)(t),p=!n&&(0,l.an)(t),m=n?void 0:(0,l.p0)(t),h=!n&&(0,l.I)(t),g=s&&(0,l.mI)(t),f=!n&&(0,l.sB)(t),v=(0,l.Gs)(t),y=(0,l.yY)(t),b=(0,l.dE)(t),E=(0,l.fB)(t),A=(0,l.oy)(t),C=(0,l.TR)(t),S=(0,l.p2)(t),w=(0,l.EW)(t,e.section),O=y!==r.WB;return{showComments:s,showRecentPosts:d,showViewCount:h,showCommentCount:g,showLikeCount:f,showAuthorName:v,showAuthorPicture:(0,l.X8)(t,O),showAuthorBadge:!e.hideAuthorBadge&&(0,l.cx)(t),authorInfoType:y,showPostUpdatedDate:b,showCategoryLabels:E,showPostTitle:A,showPublishDate:C,showReadingTime:S,showPostDescription:w,showMoreOptionsMenu:(0,l._)(t),showCategoryLabel:!!(0,c.Ek)(t,e.post)&&(0,l.Oc)(t),isMetadataFooterVisible:!n&&(h||g||f),isMetadataHeaderVisible:v||C||S,showRelatedPosts:p,relatedPostsLabelKey:m,showPostRating:(0,i.b)(t,a.Km)&&(0,l.jd)(t)}}))},67924:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(54558),r=n(20915);const i=()=>({titleFontClassName:"blog-post-title-font",contentFontClassName:(0,r.d4)((e=>(0,o.Ym)(e)?"blog-post-page-font":"blog-post-description-font")),contentFontClassNameWithStyle:"blog-post-description-style-font"})},60930:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var o=n(98722),r=n(20915),i=n(72859),a=n(81929);const s=()=>{const e=(0,r.d4)(a.$),t=(0,r.d4)(i.Z0),{i18n:n}=(0,o.B)();n.addResourceBundle(t,"translation",e,!0,!1)}},27342:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(60751),r=n(3790),i=n(20915),a=n(63861),s=n(76058),l=n(84329),u=n(1408),c=n(54943),d=n(14509);const p=function(e){void 0===e&&(e=r.ti);const t=(0,i.d4)((t=>(0,u.S)(t)||e)),n=(0,i.d4)(a.aM),p=(0,i.d4)(s.et),m=(0,i.d4)(s.cM),h=(0,i.d4)(s.bu),g=(0,i.d4)(l.h),f=(0,c.OH)(n)&&!g,v=t===r.wj||t===r.CI||t===r.$Y||(m||p)&&(f||!1);return{getPostClassName:(0,o.useMemo)((()=>v?(0,d.nn)(t,h):()=>[]),[v,t,h]),applyFeedDesign:v,section:t}}},39835:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var o=n(60751),r=n(4452),i=n.n(r),a=n(74740),s=n(20915),l=n(76058),u=n(14509),c=n(27342),d=n(86579),p=n(47209);const m=(e,t,n)=>({iconColorClassName:i()(e(t(n,"description-fill"))),textColorClassName:i()(e(t(n,"description-color"),t(n,"description-fill"),"description-font")),separatorBackgroundColorClassName:i()(e(t(n,"description-background-color")))}),h=(e,t,n,o)=>(0,a.gc)(e)?{iconColorClassName:p.A.textOnImageIcons,textColorClassName:p.A.textOnImageTextColor,separatorBackgroundColorClassName:p.A.textOnImageSeperatorBackgroundColor}:{iconColorClassName:t||"blog-icon-fill",textColorClassName:n||"blog-text-color",separatorBackgroundColorClassName:o||"blog-separator-background-color"},g=function(e){let{iconColorClassName:t,textColorClassName:n,separatorBackgroundColorClassName:r}=void 0===e?{}:e;const i=(0,d.A)({fallbackEnabled:!1}),a=(0,c.A)(i.section),p=(0,s.d4)(l.Xu)?i.mobileLayoutName:i.layoutName;return(0,o.useMemo)((()=>a.applyFeedDesign?m(a.getPostClassName,u.hw,p):h(i.layoutType,t,n,r)),[p,a.applyFeedDesign,a.getPostClassName,i.layoutType,t,r,n])}},86579:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(60751),r=n(82314),i=n(74740),a=n(20915),s=n(25927),l=n(1408),u=n(14509);function c(e){void 0===e&&(e={});const t=(0,a.d4)((t=>e.section??(0,l.S)(t,e.fallbackEnabled??!0))),n=(0,a.d4)((n=>e.mobileLayoutType??(0,s.NS)(n,t,!0))),c=(0,a.d4)((n=>e.layoutType??(0,s.NS)(n,t))),d=(0,a.d4)(s.Ez);return(0,o.useMemo)((()=>{var e;return d||(null==(e=(0,u.jE)(c))?void 0:e.listComponentName)!==r.fR?{section:t,layoutType:c,mobileLayoutType:n,layoutName:(0,i.Sv)(c),mobileLayoutName:(0,i.Sv)(n)}:{section:t,layoutType:i.z5,mobileLayoutType:n,layoutName:(0,i.Sv)(i.z5),mobileLayoutName:(0,i.Sv)(n)}}),[t,c,n,d])}},27956:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(60751),r=n(88604),i=n(62034);function a(){const e=(0,o.useContext)(r.d);return{permissions:e,...(0,i.A)(e)}}},35594:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var o=n(16252),r=n(67957),i=n(20915),a=n(51880),s=n(72859),l=n(32860),u=n(27342);function c(e){const{borderWidth:t}=(0,l.e)(e),{applyFeedDesign:n}=(0,u.A)(null==e?void 0:e.section);return(0,i.d4)((e=>({borderWidth:n?t:(0,s.Ny)(e)?1:(0,o.get)((0,a.tl)(e),r.R2,1)})))}},72304:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(60751),r=n(16252);const i=function(e,t){void 0===t&&(t=500);const n=(0,o.useMemo)((()=>e?(0,r.throttle)(e,t,{leading:!0}):()=>{}),[e,t]);(0,o.useEffect)((()=>{var e;return null==(e=window)||e.addEventListener("scroll",n,{passive:!0}),()=>{var e;null==(e=window)||e.removeEventListener("scroll",n)}}),[n])}},63861:(e,t,n)=>{"use strict";n.d(t,{MC:()=>s,aM:()=>a,tu:()=>r,xg:()=>i});const o=e=>e.router,r=e=>{var t;return null==(t=o(e))?void 0:t.currentMatch},i=e=>{var t;return(null==(t=o(e))||null==(t=t.currentMatch)?void 0:t.pathname)??""},a=e=>{var t;return null==(t=r(e))?void 0:t.route},s=e=>{var t;return null==(t=r(e))?void 0:t.params}},51880:(e,t,n)=>{"use strict";n.d(t,{EH:()=>i,tl:()=>r,uD:()=>a,wE:()=>s});var o=n(16252);const r=e=>e.appSettings;function i(e){let{state:t,key:n,fallback:i}=e;return(0,o.get)(r(t),n,i)}const a=function(e,t,n){return void 0===n&&(n=1),i({state:e,key:`style.numbers.${t}`,fallback:n})},s=function(e,t,n){return void 0===n&&(n=void 0),i({state:e,key:`style.fonts.${t}`,fallback:n})}},76058:(e,t,n)=>{"use strict";n.d(t,{$9:()=>Ne,$M:()=>tt,$n:()=>fe,AK:()=>Oe,AO:()=>Re,Ae:()=>Je,BA:()=>He,Bh:()=>We,Cj:()=>se,EJ:()=>Se,EW:()=>G,EY:()=>oe,Fu:()=>q,Gs:()=>z,Hv:()=>Fe,I:()=>H,JE:()=>ee,Li:()=>Pe,MP:()=>Be,Mt:()=>Ze,Mu:()=>$e,Oc:()=>Qe,QM:()=>xe,Rm:()=>we,S$:()=>P,TR:()=>X,UF:()=>te,Vd:()=>F,X8:()=>V,Xp:()=>Le,Xu:()=>_,_:()=>W,an:()=>ie,bu:()=>x,cM:()=>Y,cx:()=>J,dE:()=>$,dN:()=>ge,dV:()=>qe,eW:()=>ke,eo:()=>nt,et:()=>be,fB:()=>M,h4:()=>Ye,h7:()=>ye,iz:()=>De,jW:()=>de,jd:()=>j,ky:()=>Me,lS:()=>ne,m$:()=>Ke,mI:()=>k,nH:()=>Ie,ny:()=>me,oy:()=>U,p0:()=>ae,p2:()=>Q,pJ:()=>B,pb:()=>ue,qe:()=>re,sB:()=>R,tJ:()=>Xe,tc:()=>et,uE:()=>he,uX:()=>ce,wH:()=>pe,xE:()=>le,y3:()=>Ae,yO:()=>je,yP:()=>Ge,yY:()=>Z,yd:()=>ve,yu:()=>Te});var o=n(16252),r=n(24885),i=n(20446),a=n(13246),s=n(17617),l=n(34672),u=n(3790),c=n(67957),d=n(91354),p=n(56152),m=n(74740),h=n(63544),g=n(91053),f=n(78425),v=n(21504),y=n(49457),b=n(86498),E=n(77960),A=n(72859),C=n(85467),S=n(51880),w=n(25927),O=n(67603),N=n(1408);const P=e=>(0,S.EH)({state:e,key:"updatedAt",fallback:(new Date).getTime()}),L=(0,r.Ad)(i.UI,o.isEqual),I=L([S.tl],(e=>(0,o.get)(e,"colorPresets",[]))),T=e=>(0,A.Ny)(e)&&(0,O.$T)(e),_=e=>(0,A.Ny)(e)&&(0,O.ro)(e),x=e=>(0,A.Ny)(e)&&(0,O.dt)(e);function D(e){let t="fallback"in e?e.fallback:void 0;return"wixParam"in e&&(t??=(0,a.t)(e.wixParam,(0,N.S)(e.state))),(0,S.EH)({state:e.state,key:T(e.state)?e.mobileKey:e.key,fallback:t})}const k=e=>D({state:e,mobileKey:s.Y,key:s.$l,wixParam:s.BA}),R=e=>D({state:e,mobileKey:s.g5,key:s.z,wixParam:s.DA}),M=e=>D({state:e,mobileKey:s.pm,key:s.IR,wixParam:s.MA}),B=e=>D({state:e,mobileKey:s.cc,key:s.Zy,wixParam:s.xg}),F=(e,t)=>!!W(e)&&t,U=e=>D({state:e,mobileKey:s.W4,key:s.HQ,wixParam:s.FX}),j=e=>!!(0,l.Qx)(e)&&D({state:e,mobileKey:s.Vi,key:s.k7,wixParam:s.sm,fallback:!0}),G=(e,t)=>{const n=(0,O.$T)(e),o=(0,A.Ny)(e);return(0,N.S)(e)===u.$Y?(0,a.t)(s.zA,u.$Y):!(t===u.wj||t===u.CI||n||!o)||D({state:e,mobileKey:s.oR,key:s.fe,wixParam:s.zA})},W=e=>D({state:e,mobileKey:s.Tv,key:s.cz,wixParam:s.sk}),H=e=>D({state:e,mobileKey:s.ud,key:s.bp,wixParam:s.$T}),z=e=>{const t=(0,a.t)(s.$u,(0,N.S)(e)),n=T(e);return D({state:e,mobileKey:s.Gm,key:s.rE,fallback:n?(0,S.EH)({state:e,key:s.rE,fallback:t}):t})},V=(e,t)=>D({state:e,mobileKey:s.bD,key:s.wP,wixParam:s.OB,fallback:t}),J=e=>D({state:e,mobileKey:s.gJ,key:s.aR,fallback:T(e)?z(e):(0,a.t)(s.dp,(0,N.S)(e))}),Z=e=>{const t=(0,a.t)(s.eU,(0,N.S)(e));return D({state:e,key:s.CX,mobileKey:s.h5,fallback:T(e)?(0,S.EH)({state:e,key:s.CX,fallback:t}):t})},K=e=>D({state:e,mobileKey:s.EZ,key:s.HA,wixParam:s.nS}),$=e=>D({state:e,mobileKey:s.cX,key:s.v,wixParam:s.zg}),q=e=>(0,S.EH)({state:e,key:s.CG,fallback:!1}),Y=e=>(0,S.EH)({state:e,key:c.kl,fallback:!1}),X=e=>{const t=(0,N.S)(e)===u.$Y?(0,a.t)(s.dJ,u.$Y):K(e);return D({state:e,mobileKey:s.ye,key:s.rk,fallback:t})},Q=e=>D({state:e,mobileKey:s.lJ,key:s.Eo,fallback:K(e)}),ee=e=>D({state:e,mobileKey:s.bl,key:s.w$,fallback:!0}),te=e=>D({state:e,mobileKey:s.uW,key:s.no,fallback:!0}),ne=e=>D({state:e,mobileKey:s.w9,key:s.bG,fallback:!0}),oe=e=>D({state:e,mobileKey:s.Oh,key:s.Ll,fallback:!(0,C.g)(e)}),re=e=>D({state:e,mobileKey:s.EV,key:s.ro,fallback:!0}),ie=e=>D({state:e,mobileKey:d.K8,key:d.rS}),ae=e=>{const t=D({state:e,mobileKey:d.Tz,key:d.aG,fallback:!0}),n=(0,S.EH)({state:e,key:T(e)?d.el:d.rh,fallback:d.iU.recent});return t?d.fE[n]:void 0},se=e=>D({state:e,mobileKey:s.T3,key:s.It,fallback:!0}),le=e=>D({state:e,mobileKey:s.ld,key:s.Op,fallback:!0}),ue=e=>(0,S.EH)({state:e,key:(0,s.g7)(p.nJ,T(e)),fallback:!1}),ce=L([le,e=>(0,o.filter)(p.aI,(t=>((e,t)=>(0,S.EH)({state:e,key:(0,s.g7)(t,T(e)),fallback:!0}))(e,t)))],((e,t)=>e?t:[])),de=e=>(0,S.EH)({state:e,key:c.FK,fallback:b.Zb}),pe=(e,t,n,o)=>{if((0,A.Ny)(e))return;const r=(0,m.Sv)(t),i=(0,c.A)(r,n,`${o}Font`),a=(0,h.AJ)(t,o);return(0,S.wE)(e,i,{}).size||a},me=(e,t,n,r)=>{const i=(0,c.Vk)(t,n||u.vx,`${r}FontSize`),a=(0,A.Ny)(e),s=(0,h.AJ)(t,r,a);if(a){if(n===u.wj||n===u.CI){const a=(0,c.Vk)(t,n,`${r}FontSize`,!0);return(0,o.get)((0,S.tl)(e),a,(0,o.get)((0,S.tl)(e),i,s))}const a=(0,h.r2)(t,r),l=(0,h.Xv)(t,r);let d=((e,t,n)=>{var o;return null==(o=(0,S.EH)({state:e,key:`${(0,c.m)(t,n)}`}))?void 0:o.size})(e,n,`${r}Font`)||s;return d=Math.min(a,d)||d,d=Math.max(l,d)||d,(0,o.get)((0,S.tl)(e),i,d)}return(0,o.get)((0,S.tl)(e),i,s)},he=e=>(0,S.EH)({state:e,key:s.MT,fallback:!1}),ge=e=>(0,S.EH)({state:e,key:s._b,fallback:!1}),fe=(e,t)=>(0,S.EH)({state:e,key:(0,g.B_)(t),fallback:m.W5.ImageRight}),ve=e=>(0,S.EH)({state:e,key:s.CE,fallback:s.eI}),ye=e=>(0,S.EH)({state:e,key:s.Ei,fallback:!1}),be=e=>(0,o.get)((0,S.tl)(e),"style.booleans.responsive",!1),Ee=e=>{let{state:t,section:n,containerWidth:o,layoutType:r}=e;const i=(0,v.n$)(r,v.LG,n),a=Te({state:t,section:n,layoutType:r}),s=(e=>(0,S.uD)(e,f.bZ,f.nn))(t);return("number"==typeof o?Math.min(o,i):i)-2*s-2*a},Ae=e=>{let{state:t,section:n,hostWidth:r,rootWidth:i,layoutMargins:a,layoutType:s}=e;n||=(0,N.S)(t),s||=(0,w.NS)(t,n);const l=(0,m.D1)(s),c=(0,m.Qz)(l),d=(0,m.$5)(l),p=(0,o.isNumber)(r)?r:(0,o.isNumber)(i)?i:void 0;if(n===u.$Y)return Ee({state:t,section:n,containerWidth:p,layoutType:s});if(c||d){const e=c?1100:980,t=void 0!==p&&po=>{let{state:r,section:i,layoutType:a}=o;i||=(0,N.S)(r);const s=_(r);if(a||=(0,w.NS)(r,i,s),!a)return;const l=(0,m.D1)(a),u=e(i,l,s),c=(0,v.n$)(a,s&&n||t,i);return(0,S.EH)({state:r,key:u,fallback:c})},Se=Ce(g.S7,v.rM),we=Ce(g.xe,v.MQ),Oe=Ce(g.Ut,v.vw,v.Mw),Ne=Ce(g.XD,v.Nr,v.KN),Pe=Ce(g.RT,v.ij),Le=Ce(g.zf,v.E0),Ie=Ce(g.Xv,v.z2),Te=Ce(g.uN,v.hs,v.uO),_e=e=>(0,S.EH)({state:e,key:c.sq,fallback:!1}),xe=e=>_e(e.state)?Ce(g.mC,v.jk)(e):Ce(g.mC)(e),De=e=>_e(e.state)?Ce(g.Mv,v.PE)(e):Ce(g.Mv)(e),ke=Ce(g.mn,v.Qp),Re=Ce(g.cr,v.kt),Me=Ce(g.c5,v.DM),Be=Ce(g.ql,v.rE),Fe=Ce(g.L1,v.sr),Ue=(e,t)=>(0,o.get)((0,o.find)(I(e),(e=>{let{reference:n}=e;return n===t})),"value");function je(e){let{state:t,section:n}=e;const o=x(t)?(0,c.lu)(n):(0,c.Xc)(n),r={value:Ue(t,"color-2")};return(0,S.EH)({state:t,key:o,fallback:r})}const Ge=e=>(0,S.EH)({state:e,key:y.TN,fallback:!1}),We=e=>{const t=He(e,y.dz.isMobileLayoutSettingsEnabled.appSettingsPath);return(0,S.EH)({state:e,key:t?y.hE:y.gt,fallback:y.nT.Button})},He=(e,t)=>(0,A.Ny)(e)&&(0,O.EV)(e,t),ze=e=>{const t=He(e,y.dz.isMobileLayoutSettingsEnabled.appSettingsPath);return(0,y.vh)(We(e),t)},Ve=e=>He(e,y.dz.isMobileDisplaySettingsEnabled.appSettingsPath)?y.AD:y.vZ,Je=e=>{const t=ze(e);return(0,S.EH)({state:e,key:t.tagAlignment.appSettingsPath,fallback:t.tagAlignment.defaultAlignment})},Ze=e=>{const t=ze(e);return(0,S.EH)({state:e,key:t.verticalSpacing.appSettingsPath,fallback:t.verticalSpacing.defaultSpacing})},Ke=e=>{const t=ze(e);return(0,S.EH)({state:e,key:t.horizontalSpacing.appSettingsPath,fallback:t.horizontalSpacing.defaultSpacing})},$e=e=>{const{numberOfTags:t}=Ve(e);return(0,S.EH)({state:e,key:t.appSettingsPath,fallback:t.defaultValue})},qe=e=>{const{orderTags:t}=Ve(e);return(0,S.EH)({state:e,key:t.appSettingsPath,fallback:t.defaultValue})},Ye=e=>{const{showPostCount:t}=Ve(e);return(0,S.EH)({state:e,key:t.appSettingsPath,fallback:t.defaultValue})},Xe=(0,r.Mz)([W,C.g,(e,t)=>t],((e,t,n)=>o=>{if(e){const e=(0,E.m)({post:o,canSee:n,enableShare:!0,enableSubscribe:t});return Boolean(e.length)}return!1})),Qe=e=>D({state:e,key:s.xS,mobileKey:s.ub,wixParam:s.Dt}),et=(e,t)=>(0,S.EH)({state:e,key:`style.numbers.${s.mS.contentAlignment.key}`,fallback:t?s.Jt.Right:s.Jt.Left}),tt=(e,t)=>(0,S.EH)({state:e,key:`style.numbers.${s.mS.contentAlignmentMobile.key}`,fallback:t?s.Jt.Right:s.Jt.Left}),nt=e=>(0,S.EH)({state:e,key:g.kt,fallback:!1})},25927:(e,t,n)=>{"use strict";n.d(t,{Ez:()=>b,Kc:()=>E,NS:()=>y,bh:()=>A,kK:()=>v,wq:()=>C});var o=n(16252),r=n(74740),i=n(54558),a=n(3790),s=n(91053),l=n(18799),u=n(59272),c=n(44736),d=n(73676),p=n(37607),m=n(72859),h=n(51880),g=n(76058),f=n(1408);const v=(e,t)=>{if(t)return r.QC;if((0,i.kx)(e)===u.y||(0,i.kx)(e)===d.y)return r.ql;return(0,g.et)(e)?r.ql:r.Nk},y=function(e,t,n){if(void 0===n&&(n=(0,m.Ny)(e)),!t)return;if(t===a.wj)return(0,c.n)({state:e,isMobile:n});if(t===a.CI)return(0,p.ZB)({state:e,isMobile:n});if(t===a.$Y)return(0,l.y)(e);const r=v(e,n);return(0,o.get)((0,h.tl)(e),(0,s.qZ)(t,n),r)},b=e=>!(0,m.ah)(e),E=(e,t)=>y(e,t||(0,f.S)(e,!0))===r.yK,A=(e,t)=>(0,m.fH)(e)&&E(e,t),C=(e,t)=>!A(e,t)},67603:(e,t,n)=>{"use strict";n.d(t,{$T:()=>m,DQ:()=>v,Do:()=>y,EV:()=>p,TG:()=>f,dt:()=>g,ro:()=>h});var o=n(17617),r=n(91053),i=n(67957),a=n(3790),s=n(74740),l=n(72859),u=n(51880),c=n(25927),d=n(1408);const p=(e,t)=>(0,u.EH)({state:e,key:t,fallback:!1}),m=e=>p(e,o.FG),h=e=>p(e,r.no),g=e=>p(e,i.rO),f=e=>{const t=(0,d.S)(e);return(t===a.wj||t===a.CI)&&(0,l.Ny)(e)},v=e=>{const t=(0,d.S)(e);return(t===a.wj||t===a.CI)&&(0,l.Ny)(e)},y=e=>{const t=(0,d.S)(e);if(!(0,l.Ny)(e))return null;if(t===a.wj||t===a.CI){const n=(0,c.NS)(e,t,!0);return(0,s.Sv)(n)}return null}},70377:(e,t,n)=>{"use strict";n.d(t,{$A:()=>b,EC:()=>m,Kv:()=>A,LX:()=>E,Vf:()=>h,_w:()=>f,p$:()=>g,sr:()=>v});var o=n(16252),r=n(24885),i=n(63770),a=n(16679),s=n(74740),l=n(72859),u=n(51880),c=n(25927),d=n(1408);const p=(0,r.Mz)([e=>e.pagination,(e,t)=>t],((e,t)=>(0,o.get)(e,t,{}))),m=(0,r.Mz)([p],(e=>e.entitiesByPage)),h=(0,r.Mz)([p],(e=>e.entityCount)),g=(0,r.Mz)([p],(e=>e.currentPage||1)),f=(0,r.Mz)([m,g],((e,t)=>(0,o.get)(e,t))),v=(0,r.Mz)([m],(e=>(0,o.toNumber)((0,o.last)(Object.keys(e).sort()))||1)),y=function(e,t){let{overrideSettingsPageSize:n,section:o}=void 0===t?{}:t,r=i.rz;return(0,l.Ny)(e)&&b(e,o)===i.ti.InfiniteScroll&&!(0,l.ah)(e)?r=i.au:(0,c.Kc)(e,o)&&(r=i.ml),Math.min(n||E(e,o),r)},b=(e,t)=>{t||=(0,d.S)(e,!0);const n=(0,u.EH)({state:e,key:(0,a.VD)(t),fallback:i.ti.InfiniteScroll}),o=(0,c.NS)(e,t);return n===i.ti.MultiplePages&&(0,s.rc)(o)?n:i.ti.InfiniteScroll},E=(e,t)=>{const n=t||(0,d.S)(e,!0);return(0,u.EH)({state:e,key:(0,a.HP)(n),fallback:i.ix})},A=(e,t)=>(t??=(0,d.S)(e,!0),!(0,l.ah)(e)&&(0,l.IC)(e)&&(0,l.Ny)(e)&&((e,t)=>b(e,t)===i.ti.MultiplePages)(e,t)&&y(e,{section:t})>i.au)},85347:(e,t,n)=>{"use strict";n.d(t,{$t:()=>k,N7:()=>g,Ok:()=>P,On:()=>L,UR:()=>D,Wz:()=>x,X5:()=>w,bl:()=>N,dB:()=>f,f5:()=>h,g5:()=>O,gy:()=>_,xP:()=>I,zH:()=>T});var o=n(16252),r=n(24885),i=n(15413),a=n(93396),s=n(13512),l=n(93203),u=n(50152),c=n(9803),d=n(72859),p=n(70377);const m=e=>e.posts??{},h=(0,r.Mz)([m,(e,t)=>t],((e,t)=>t?e[t]:void 0)),g=(0,r.Mz)([m,(e,t)=>t],((e,t)=>{if("string"!=typeof t)return;const n=t.toLowerCase(),[r,i,a]=(0,o.trimStart)(n,"/").split("/");return(0,c.a)({year:r,month:i,postSlug:a})?(0,o.find)(e,(e=>(0,o.includes)(e.slugs,n)||(0,o.includes)(e.slugs,`${n}/`))):(0,o.find)(e,(e=>(0,o.includes)(e.slugs,n)))})),f=(e,t)=>h(e,t)||g(e,t),v=(e,t)=>{var n;return(null==(n=(0,p.EC)(e,i.F$))?void 0:n[t])??[]},y=(e,t,n)=>v(e,n),b=e=>!!e&&e.status===a.Is.published,E=e=>!!e&&e.status===a.Is.unpublished,A=(e,t)=>!!t&&(0,o.includes)(t.categoryIds,e),C=(0,o.curry)(((e,t)=>!!t&&(0,o.includes)(t.tagIds,e))),S=(e,t,n)=>o=>{const r=(0,l.q)(o.firstPublishedDate,n);return r.year===parseInt(e,10)&&r.month===parseInt(t,10)},w=(0,r.Mz)([m,(e,t)=>t],((e,t)=>(0,s.Ql)((0,o.chain)(e).filter((e=>A(t,e))).value()))),O=(0,r.Mz)([m,u.Y,y],((e,t,n)=>(0,o.chain)(n).map((t=>e[t])).filter((e=>A(t,e))).value())),N=(0,r.Mz)([m],(e=>(0,s.Ql)(Object.values(e)))),P=(0,r.Mz)([m,v],((e,t)=>t.map((t=>e[t])))),L=(0,r.Mz)([m,(e,t)=>t,d.Md],((e,t,n)=>{let{year:r,month:i}=t;return(0,s.Ql)((0,o.chain)(e).filter(S(r,i,n)).value())})),I=(0,r.Mz)([m,u.Y,y,d.Md],((e,t,n,r)=>{let{year:i,month:a}=t;return(0,o.chain)(n).map((t=>e[t])).filter(S(i,a,r)).value()})),T=(0,r.Mz)([m,(e,t)=>t],((e,t)=>(0,s.Ql)((0,o.chain)(e).filter(C(t)).filter(b).value()))),_=((0,r.Mz)([m,(e,t)=>t],((e,t)=>(0,o.chain)(e).filter((e=>{var n;return(null==(n=e.hashtags)?void 0:n.some((e=>e.toLowerCase()===t.toLowerCase())))??!1})).value())),(0,r.Mz)([m,u.Y,y],((e,t,n)=>(0,o.chain)(n).map((t=>e[t])).filter(C(t)).value()))),x=(0,r.Mz)([m],(e=>(0,s.g3)(Object.values(e)))),D=((0,r.Mz)([m],(e=>(0,s.py)(Object.values(e)))),(0,r.Mz)([m],(e=>(0,o.values)(e))),(0,r.Mz)([m],(e=>(0,o.values)(e))),(0,r.Mz)([m,v],((e,t)=>t.map((t=>e[t]))))),k=((0,r.Mz)([m],(e=>(0,o.filter)(e,b))),(0,r.Mz)([m],(e=>(0,o.filter)(e,E))),(0,r.Mz)([m],(e=>(0,o.chain)(e).filter(b).size().value())),(0,r.Mz)([m],(e=>(0,o.chain)(e).filter(E).size().value())),(0,r.Mz)([m,p._w],((e,t)=>(0,o.chain)(t).map((t=>null==e?void 0:e[t])).compact().value())),e=>{var t;return null==(t=(e=>e.coverImage)(e))?void 0:t.src})},1408:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var o=n(3790),r=n(54558),i=n(77666),a=n(59272),s=n(73676),l=n(63861),u=n(54943);function c(e,t){const n=(0,l.aM)(e);return(0,u.KD)(n)?o.ti:(0,u.gk)(n)||(0,u.rg)(n)||(0,u.pP)(n)||(0,u.t)(n)?o.vx:(0,r.kx)(e)===a.y?o.wj:(0,r.kx)(e)===s.y?o.CI:(0,r.kx)(e)===i.we?o.$Y:(0,u.ju)(n)?void 0:t?o.vx:void 0}},14509:(e,t,n)=>{"use strict";n.d(t,{hw:()=>p,jE:()=>l,jz:()=>u,nn:()=>d});var o=n(10711),r=n(74740),i=n(82314),a=n(3790);const s={[r.As]:{listComponentName:i.fR,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:3,description:3},withoutCover:{title:3,description:3}}}},[r.ML]:{listComponentName:i.fR,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{withCover:{title:3,description:3},withoutCover:{title:3,description:3}}}},[r.sC]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{withCover:{title:2,description:2},withoutCover:{title:2,description:2}}}},[r.ag]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{withCover:{title:2,description:2},withoutCover:{title:2,description:2}}}},[r.yK]:{listComponentName:i.EB,itemComponentName:i.P1,itemConfig:{displayFooterIcons:!1}},[r.gu]:{listComponentName:i.Oo,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:0,description:3},withoutCover:{title:0,description:3}}}},[r.Nk]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{withCover:{title:3,description:2},withoutCover:{title:2,description:2}}}},[r.Ul]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:3,description:0},withoutCover:{title:3,description:4}}}},[r.LO]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:2,description:0},withoutCover:{title:2,description:0}}}},[r.h5]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:2,description:0},withoutCover:{title:2,description:0}}}},[r.QC]:{listComponentName:i.Oo,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:0,description:3},withoutCover:{title:0,description:3}}}},[r.G_]:{listComponentName:i.Oo,itemComponentName:i.F$,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:0,description:3},withoutCover:{title:0,description:3}}}},[r.a1]:{listComponentName:i.Oo,itemComponentName:i.mz,itemConfig:{displayFooterIcons:!0,lineCount:{withCover:{title:2,description:0},withoutCover:{title:2,description:0}}}},[r.bf]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:0}}},[r.XH]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:0}}},[r.nH]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:0}}},[r.Em]:{listComponentName:i.fR,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{title:3,description:3}}},[r.Zv]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{title:3,description:3}}},[r.yp]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{title:3,description:3}}},[r.ql]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:4}}},[r.Qc]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:4}}},[r.qt]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:4}}},[r.xA]:{listComponentName:i.EB,itemComponentName:i.Tw,itemConfig:{displayFooterIcons:!1,lineCount:{title:3,description:3}}},[r._m]:{itemConfig:{hideFooter:!0,hideHeader:!0,hideDescription:!0,lineCount:{title:3,description:3},displayFooterIcons:!0}},[r.mA]:{itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:3}}},[r.s4]:{itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:3}}},[r.Ws]:{itemConfig:{displayFooterIcons:!0,lineCount:{title:3,description:3}}}},l=e=>s[e],u=(e,t)=>{let{lineCount:n}=e;if(!n)throw new Error("lineCount is not defined");return"withCover"in n?t?n.withCover:n.withoutCover:n},c=["title-color","TOI-title-color","description-color","TOI-description-color","overlay-background-color","border-color","background-color","TOI-background-color","post-container","hover-container","link-hashtag-hover-fill","link-hashtag-hover-color","pagination-active","description-fill","TOI-description-fill","description-background-color","TOI-description-background-color"],d=(0,o.default)(((e,t)=>function(){for(var n=arguments.length,o=new Array(n),r=0;r`blog-post-${e}-${((e,t,n)=>e&&(t===a.wj||t===a.CI)&&c.includes(n)?n.startsWith("TOI")?n.replace("TOI","TOI-mobile"):`mobile-${n}`:n)(t,e,n)}`))})),p=(e,t)=>`${(0,r.NN)(e)?"TOI-":""}${t}`},50152:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var o=n(45592);const r=(e,t)=>t||(0,o.x)("Missing second param in selector")},77960:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var o=n(16252),r=n(33014);const i=e=>{let{actions:t=r.TI,post:n,canSee:i,enableShare:a=!0,enableSubscribe:s=!0}=e;return(0,o.chain)(t).filter((e=>i(e,"post",n))).without(a||r.Sf,s||r.$X).value()}},9803:(e,t,n)=>{"use strict";n.d(t,{Iz:()=>a,a:()=>i});n(16252);var o=n(40795);const r=new RegExp(`^${o.YEAR_SLASH_MONTH_OPTIONAL_SLASH_DAY}/$`),i=e=>{let{year:t,month:n,day:o,postSlug:i}=e;return o?!isNaN(new Date(`${t}-${n}-${o}`).getTime()):r.test(`${t}/${n}/`)},a=e=>{let{categorySlug:t,subcategorySlug:n}=e;const o=n?`${t}/${n}`:t;return o?o.toLocaleLowerCase():o}},30316:(e,t,n)=>{"use strict";n.d(t,{a:()=>r,u:()=>i});var o=n(81693);const r=(e,t)=>{var n;return null==e||null==(n=e.appStore)||null==(n=n[t])||null==(n=n.permissions)?void 0:n.role},i=e=>r(e,o.BLOG_APP_ID)},83865:(e,t,n)=>{"use strict";n.d(t,{Ek:()=>h,MA:()=>g,bW:()=>c,dz:()=>d,md:()=>f,p7:()=>m,pI:()=>v,vQ:()=>p});var o=n(16252),r=n(24885),i=n(50995),a=n(9814),s=n(91158),l=n(58632),u=n(65259);const c=e=>e.categories??[],d=(0,r.Mz)([c,(e,t)=>t],((e,t)=>e.slice(0,t))),p=((0,r.Mz)([c],(e=>(0,i.k)(e))),(0,r.Mz)([c],(e=>(0,i.W)(e)))),m=(e,t)=>p(e)[t],h=function(e,t){return void 0===t&&(t={}),t.mainCategory??y(e,t)},g=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),t.mainCategory)return t.mainCategory.link;const o=y(e,t);return o?(0,a.H)({topology:n,to:`/${s.uK}/${o.slug}`,shouldNavigateToFeed:!0}):void 0},f=function(e,t){var n,o;void 0===t&&(t={});var r,i;if(!(0,l.b)(e,u.f.REMOVE_CATEGORY_TITLE)&&null!=(n=t.mainCategory)&&n.title)return null==(r=t.mainCategory)?void 0:r.title;if(null!=(o=t.mainCategory)&&o.label)return null==(i=t.mainCategory)?void 0:i.label;const a=y(e,t);return a?a.menuLabel??a.label:void 0},v=(0,r.Mz)([c,(e,t)=>t],((e,t)=>(0,o.find)(e,(e=>(0,o.includes)(e.slugs,t)||(0,o.includes)(e.slugs,`${t}/`)))));(0,r.Mz)([c],(e=>Math.max(-1,...(0,o.map)(e,(e=>e.rank??-1))))),(0,r.Mz)([c,(e,t)=>t,(e,t,n)=>n],((e,t,n)=>e.find((e=>{var o;return e.language===n&&(null==(o=e.translations)?void 0:o.find((e=>{var n;let{url:o}=e;return null==o||null==(n=o.path)?void 0:n.includes(t)})))}))));function y(e,t){var n;void 0===t&&(t={});const o=null==(n=t.categoryIds)?void 0:n[0];if(o)return m(e,o)}},711:(e,t,n)=>{"use strict";n.d(t,{Jz:()=>r,_G:()=>i});function o(e,t,n){var o;return(null==(o=(e=>e.instanceValues)(e))?void 0:o[t])??n}const r=e=>o(e,"demoMode"),i=e=>o(e,"metaSiteId")},94093:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});const o=(e,t)=>{var n;return null!=t&&t.siteMemberId?null==(n=(e=>e.profileUrls)(e))?void 0:n[null==t?void 0:t.siteMemberId]:void 0}},87007:(e,t,n)=>{"use strict";n.d(t,{$_:()=>r,Do:()=>i,ZK:()=>s,go:()=>a,og:()=>o});const o=e=>e.topology??{},r=e=>o(e).baseUrl??"",i=e=>o(e).sectionUrl??"",a=e=>o(e).postPageSectionUrl??"",s=e=>{var t;return(null==(t=o(e).sectionUrl)?void 0:t.includes("//www.wix.com/"))??!1}},47210:(e,t,n)=>{"use strict";n.d(t,{DC:()=>a,If:()=>p,Qz:()=>i,RZ:()=>s,TE:()=>l,ZO:()=>r,tW:()=>u,tv:()=>c,wc:()=>d});var o=n(91158);const r="/404",i="/(page/:page(/))",a="/category/:categorySlug(/:subcategorySlug)(/page/:page)(/)",s=`/${o.uK}/:categorySlug(/:subcategorySlug)(/page/:page)(/)`,l="/search(/:query)",u=`/${o.J}/:hashtag(/page/:pageIndex)(/)`,c=`/${o.wY}/:year/:month(/page/:pageIndex)(/)`,d=`/${o.jF}/:tagSlug(/page/:page)(/)`,p="/login"},4480:(e,t,n)=>{"use strict";n.d(t,{A:()=>T});var o=n(60751),r=n.n(o),i=n(47543),a=n(75403),s=n(1651),l=n(94481),u=n(7053),c=n(65429),d=n(20915),p=n(68852),m=n(60930),h=n(76058),g=n(18772),f=n(72859),v=n(77969),y=n(32613),b=n(34301),E=n(24845),A=n(77599),C=n(86832),S=n(19818),w=n(35800);const O=()=>(P(),N(),(0,m.s)(),r().createElement(c.A,{dataHook:"feed-page-root",className:w.A.root},r().createElement(u.A,null,r().createElement(l.A,{PostListProGallery:I,PostListSimple:b.A,PostListMasonry:v.A,PostListMobile:y.A,PostListItem:E.A,Post:L,SideBySideMobile:A.A,TextOnImageMobile:C.A},r().createElement(r().Fragment,null,r().createElement(S.A,null),r().createElement(s.A,null))))));function N(){const{language:e,isMobile:t,isPinterestEnabled:n}=(0,d.d4)((e=>({language:(0,f.Z0)(e),isMobile:(0,f.Ny)(e),isPinterestEnabled:(0,h.uE)(e)})));(0,o.useEffect)((()=>(g.A.init({language:e,isMobile:t,isPinterestEnabled:n}),()=>{g.A.removeEventListener()})),[])}function P(){const e=(0,d.d4)((e=>(0,f.sb)(e)&&(0,h.et)(e)));(0,o.useEffect)((()=>{e&&(document.body.style.height="auto")}),[])}const L=(0,a.Ay)({resolved:{},chunkName:()=>"full-post-layout",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(6736),n.e(6202)]).then(n.bind(n,34837)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 34837}}),I=(0,a.Ay)({resolved:{},chunkName:()=>"post-list-pro-gallery",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(9143),n.e(6910),n.e(6233)]).then(n.bind(n,63561)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then((e=>(this.resolved[t]=!0,e)))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 63561}}),T=(0,i.Y)((0,p.a)(O))},19818:(e,t,n)=>{"use strict";n.d(t,{A:()=>Gd});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(20915),l=n(63861);var u=n(22298),c=n(4452),d=n.n(c),p=n(54558),m=n(3790),h=n(89460),g=n(76058);const f=()=>(0,s.d4)((e=>({showBlogMenu:(0,g.JE)(e),showCategoryLabels:(0,g.UF)(e),showSearch:(0,g.lS)(e),showLoginButton:(0,g.EY)(e)})));var v=n(1408),y=n(54943),b=n(92647),E=n(35492),A=n(16252),C=n(35002);const S=(0,A.flowRight)(C.A)((e=>{let{isDesktop:t,isMobile:n,className:o,...i}=e;const s=(0,A.omit)(i,"dispatch");return a().createElement("div",r()({className:d()(o,{"is-mobile":n,"app-mobile":n,"is-desktop":t,"app-desktop":t})},s))})),w="L5x0Fp",O="aVF3iR",N="Led6wX",P=e=>{let{children:t,className:n,desktopHeader:o,main:r,menu:u,messageRoot:c,modalRoot:A,popoverRoot:C}=e;const O=(0,s.d4)((e=>(0,y.CW)((0,l.aM)(e)))),P=(0,s.d4)(p.Ym),L=(0,s.d4)(g.et),I=f(),T=(0,s.d4)(p.ax),_=(0,s.d4)((e=>(0,v.S)(e)===m.vx));(0,i.useEffect)((()=>{(0,b.m)()&&!O||document.documentElement.classList.add("enable-scroll")}),[O]);const x=T&&_?"blog-background-category-color":"blog-background-color";return a().createElement(S,{className:d()(n,w,x,P&&N)},a().createElement(h.l,null,a().createElement(E.B,null),c,A,C,a().createElement("div",{id:"content-wrapper"},function(e){if((L?I.showCategoryLabels:I.showBlogMenu)&&e)return!0;return!1}(o)&&a().cloneElement(o,{menu:u}),r&&a().cloneElement(r,{children:t}))))},L=e=>{let{modalRoot:t,messageRoot:n,popoverRoot:o,mobileHeader:r,mobileMenu:l,main:u,children:c}=e;const p=(0,s.d4)(g.et);return(0,i.useEffect)((()=>{(0,b.m)()||document.documentElement.classList.add("enable-scroll")}),[]),a().createElement(S,{className:d()(w,"app-mobile","blog-background-color")},a().createElement(h.l,null,a().createElement(E.B,null),n,t,o,a().createElement("div",{id:"content-wrapper",className:d()(O,"app-mobile__scrollable")},r&&a().cloneElement(r,{menu:l,hideNavBar:p}),u&&a().cloneElement(u,{children:c}))))},I=(0,u.A)(L,P);var T=n(24885),_=n(68701);const x=e=>{let{categories:t,feedTitle:n,categoryPath:o,withLinkToAllPosts:r}=e;const i={key:"latest_posts",path:"",text:n},a=t.map((e=>({key:(0,_.S)(e),path:`/${o}/${e.slug}`,text:e.menuLabel})));return r?[i,...a]:a};var D=n(83865),k=n(34672),R=n(63971);const M=e=>(0,R.ll)(e)?(0,k.Uf)({state:e,language:(0,R.ll)(e)}):"",B=(0,T.Mz)([D.bW,M,p._4,e=>{var t;return null==e||null==(t=e.tpaSettings)||null==(t=t.settings)?void 0:t.allPostsFeedLabel}],((e,t,n,o)=>x({categories:e,feedTitle:t||o,categoryPath:n,withLinkToAllPosts:!0}))),F=(0,T.Mz)(B,l.xg,((e,t)=>e.find((e=>e.path===t))||e[0]));var U=n(72859);const j=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M11.4964212,9.69999981 L6.06615558,14.8757976 C5.97794814,14.9598716 5.97794814,15.0961824 6.06615558,15.1802563 L6.54529666,15.6369443 C6.6335041,15.7210183 6.77651661,15.7210183 6.86472405,15.6369443 L12.9338444,9.85222916 C12.9779481,9.81019218 13,9.755096 13,9.69999981 C13,9.64490362 12.9779481,9.58980744 12.9338444,9.54777046 L6.86472405,3.76305527 C6.77651661,3.67898132 6.6335041,3.67898132 6.54529666,3.76305527 L6.06615558,4.21974331 C5.97794814,4.30381726 5.97794814,4.44012806 6.06615558,4.52420201 L11.4964212,9.69999981 L11.4964212,9.69999981 Z",transform:"rotate(90 9.5 9.7)"})),G={container:"P79xUp",wrapper:"tr91VF",title:"w4kgLO",icon:"Rgs8Bb"},W=e=>{let{children:t,title:n}=e;const o=d()(G.container,"blog-card-background-color","blog-text-color","categories-button",G.boxShadow);return a().createElement("div",{className:o},a().createElement("div",{className:G.wrapper},a().createElement("span",{"data-hook":"category-title",className:G.title},n),a().createElement(j,{className:d()("blog-icon-fill",G.icon)}),t))};var H=n(91165);const z="Wi9Gc9",V="ZKqkU8",J="E_WBG4",Z=()=>{const e=(0,s.d4)(B),t=(0,s.d4)(F);return a().createElement("nav",{className:d()(z,"blog-navigation-container-background-color")},a().createElement("ul",{id:"toggle-seo-nav"},e.map(((e,t)=>{let{path:n,text:o}=e;return a().createElement(H.A,{key:t,to:n},o)}))),a().createElement("a",{href:"#toggle-seo-nav",className:V},t.text),a().createElement("a",{href:"#",className:d()(V,J)},"Close"))},K="HdgO4m",$=()=>{const e=(0,s.d4)(B),t=(0,s.d4)(F),n=(0,s.d4)(U.ah),o=(0,s.dN)();return n?a().createElement(Z,null):a().createElement(W,{title:t.text},a().createElement("select",{"data-hook":"category-dropdown",className:K,onChange:e=>o.navigateWithinBlog(e.target.value),defaultValue:t.path},e.map((e=>a().createElement("option",{key:e.key,value:e.path},e.text)))))};var q=n(91157);const Y=(0,A.flowRight)((0,s.Ng)((e=>({showBlogMenu:(0,g.JE)(e),showCategoryLabels:(0,g.UF)(e),showSearch:(0,g.lS)(e),showLoginButton:(0,g.EY)(e)}))),(0,q.A)("WithBlogMenuSettings"));var X=n(85347),Q=n(74740),ee=n(44574),te=n(34314);const ne="FDtnt5",oe="Y0bxin",re="iNQ68R",ie="uKtW2I",ae="XcjqVD",se=(0,A.flowRight)(te.iB,(0,ee.A)(),(0,s.Ng)(((e,t,n,o)=>{let{rootWidth:r,layoutType:i,layoutName:a}=t;const s=(0,v.S)(e),l=(0,g.yu)({state:e}),u=(0,g.et)(e),c=[m.ti,m.vx].includes(s),d=u&&!c;return{useResponsiveEditorStyling:d,createdWithResponsiveEditor:u,isAppBundle:(0,p.ax)(e),layoutMargins:l,layoutType:i,layoutPostSize:(0,g.y3)({state:e,section:s,layoutType:i,layoutName:a,hostWidth:o.dimensions.width,rootWidth:r,layoutMargins:d?null:l})}})))((e=>{let{left:t,right:n,menu:o,className:r,createdWithResponsiveEditor:i,useResponsiveEditorStyling:s,isAppBundle:l,layoutMargins:u,layoutType:c,layoutPostSize:p}=e;const m=d()(ne,r,"blog-header-background-color"),h=(0,Q.js)(c),g=(0,Q.ei)(c),f=(0,Q.It)(c),v=d()(oe,!(0,Q.Ge)(c)&&re,l&&(!(0,Q.Ge)(c)||s)&&ie),y=s||h||g||!u?{}:{paddingRight:u,paddingLeft:u},b={...(h||g)&&{maxWidth:p},...s&&f&&{maxWidth:940}};return a().createElement("div",{style:y,className:m,"data-hook":"blog-desktop-header-container"},a().createElement("div",{style:b,className:v},t,!i&&n),(e=>e&&a().createElement("div",{className:ae},e))(o))}));var le=n(85707),ue=n.n(le),ce=n(92001),de=n(6899);const pe=e=>e.searchInput.inputWidth;var me=n(98722),he=n(27342),ge=n(78411);const fe="KQiXym",ve="ByH4xY",ye="py6zKi",be="IVqWoX",Ee="u3G4HW",Ae="ucwOAz",Ce="TbpLtF",Se="I4EMxH",we=e=>a().createElement("div",{className:ye,"data-hook":"blog-desktop-header-dropdown-menu-container"},a().createElement("div",{className:d()(Ee,"blog-categories-dropdown-background-color"),style:{maxWidth:e.width}},e.items.map((t=>{const n=t.path===e.currentPath;return a().createElement("div",{className:d()(Ae)},a().createElement("div",{className:d()(Ce,"blog-navigation-container-color")},a().createElement(H.A,{to:t.path,isActive:n,addHoverClasses:!1,className:d()(fe,{[ve]:n}),onNavigation:()=>e.onNavigation(t)},t.text)),a().createElement("div",{className:d()(Se,"blog-navigation-container-separator-background-color")}))})))),Oe=()=>{var e,t;const n=(null==(e=document.querySelector('[data-hook="blog-desktop-header-container"]'))?void 0:e.offsetHeight)??0;return((null==(t=document.querySelector('[data-hook="blog-desktop-header-dropdown-menu-container"]'))?void 0:t.offsetHeight)??0)+n},Ne=e=>{const{t}=(0,me.B)(),[n,o]=a().useState(!1),{applyFeedDesign:r}=(0,he.A)(),s=()=>{o(!0)},l=()=>{o(!1)};return(0,i.useEffect)((()=>{!0===n&&(()=>{const e=Oe();e>document.body.offsetHeight&&ge.A.setHeight(e)})()}),[n]),a().createElement("div",{className:fe,onMouseLeave:l,onBlur:e=>{e.relatedTarget&&!e.currentTarget.contains(e.relatedTarget)&&l()}},a().createElement("span",{onMouseEnter:s,onFocus:s,className:d()("has-custom-focus",be),tabIndex:0},a().createElement("span",null,t("header.more-button")),r?a().createElement("span",{style:{position:"relative",width:"1em",marginLeft:"0.2em"}},a().createElement(j,{style:{width:"1em",position:"absolute",bottom:"0.2em"}})):a().createElement(j,{height:"12",style:{float:"right",marginTop:4}})),n&&a().createElement(we,{currentPath:e.currentPath,items:e.items,width:e.width,onNavigation:e.onNavigation}))};let Pe=0;const Le=".blog-header__navigation",Ie=".blog-header__navigation ul",Te="#categories-more-button",_e="kU2es5",xe="LnLd_R",De="UlUPo4",ke="ckIWcX",Re="HOAgFN";class Me extends i.PureComponent{constructor(){super(...arguments),ue()(this,"state",{visibleCategories:this.props.categories,accessibilityAlert:null,moreCategories:[]}),ue()(this,"onNavigation",(e=>()=>{this.showAccessibilityAlert(this.props.t("header.accessibility-alert",{title:e,count:this.props.categories.length}))})),ue()(this,"shouldRenderMoreButton",(()=>{const{moreCategories:e}=this.state;if("undefined"==typeof window)return!1;if(e.length>0)return!0;const t=document.querySelector(".blog-header__navigation"),n=Array.from(document.querySelectorAll(".blog-header__navigation > ul > li"));if(!t||0===n.length)return!1;return t.getBoundingClientRect().widthe+t.getBoundingClientRect().width+(0===n?0:40)),0)})),ue()(this,"showAccessibilityAlert",(e=>{this.setState({accessibilityAlert:e})}))}componentDidMount(){this.updateVisibleCategories()}componentDidUpdate(e,t){const n=["isAuthenticated","searchInputWidth","viewMode","settingsUpdated","hostWidth"].some((t=>!(0,A.isEqual)(e[t],this.props[t]))),o=["visibleCategories","moreCategories"].some((e=>!(0,A.isEqual)(t[e],this.state[e])));n&&this.setState({visibleCategories:this.props.categories,moreCategories:[]},this.updateVisibleCategories),o&&this.updateVisibleCategories()}updateVisibleCategories(){const e=((e,t)=>{if("undefined"==typeof window)return;const n=document.querySelector(Le),o=document.querySelector(Ie);if(!n)return;const r=document.querySelector(Te);r&&(Pe=r.getBoundingClientRect().width);const i=null!=o&&o.children?Array.from(o.children):[],a=i.slice(0,r?i.length-1:void 0);let s=n.getBoundingClientRect().width-(Pe+40);const l=[];for(const[t,n]of a.entries())if(s-=n.getBoundingClientRect().width+(t>0?40:0),0!==t){if(s<0)break;l.push(e[t-1])}if(!(0,A.isEqual)(l,t)){const t=a.slice(0,l.length+1);return{visibleCategories:l,moreCategoriesMenuWidth:n.getBoundingClientRect().width-t.reduce(((e,t,n)=>e+t.getBoundingClientRect().width+(0===n?0:40)),0),moreCategories:e.slice(l.length)}}})(this.props.categories,this.state.visibleCategories);!(0,A.isEmpty)(e)&&this.setState(e)}render(){const{moreCategoriesMenuWidth:e}=this.state,t=x({categories:this.state.visibleCategories,feedTitle:this.props.feedTitle,categoryPath:this.props.categoryPath,withLinkToAllPosts:!0}),n=x({categories:this.state.moreCategories,feedTitle:this.props.feedTitle,categoryPath:this.props.categoryPath,withLinkToAllPosts:!1});return a().createElement("nav",{className:d()(_e,"blog-header__navigation","blog-navigation-container-font"),"aria-label":"blog"},this.state.accessibilityAlert&&a().createElement("div",{role:"alert",className:Re},this.state.accessibilityAlert),a().createElement("ul",{className:xe},t.map(((e,n)=>{const o=this.props.currentPathDecoded===e.path,r=0===n||n===t.length-1,i=d()(De,"blog-navigation-container-color blog-navigation-container-font ","blog-navigation-link-hover-color",{"blog-navigation-link-active-color":o,[`has-custom-focus ${ke}`]:r});return a().createElement("li",{key:e.key,"data-hook":`header-navigation__${e.path}`},a().createElement(H.A,{className:i,to:e.path,addHoverClasses:!1,isActive:o,onNavigation:()=>this.showAccessibilityAlert(e.text)},e.text))})),this.shouldRenderMoreButton()?a().createElement("li",{id:"categories-more-button"},a().createElement(Ne,{currentPath:this.props.currentPath,items:n,width:e,onNavigation:e=>this.showAccessibilityAlert(e.text)})):null))}}const Be=(0,s.Ng)(((e,t,n,o)=>{var r;const{page:i}=(0,l.MC)(e)||{},a=(0,l.xg)(e),s=i?a.replace(`/page/${i}`,""):a;return{categories:(0,D.dz)(e,30),currentPath:s,hostWidth:o.dimensions.width,currentPathDecoded:decodeURIComponent(s),searchInputWidth:pe(e),feedTitle:M(e)||(null==(r=e.tpaSettings.settings)?void 0:r.allPostsFeedLabel),viewMode:(0,U.Lz)(e),settingsUpdated:(0,g.S$)(e),categoryPath:(0,p._4)(e),isSSR:(0,U.fU)(e),isSEO:(0,U.ah)(e),paginationClearCollection:n.paginationClearCollection}})),Fe=(0,A.flowRight)(Be,de.A,(0,ce.C)())(Me);var Ue=n(57827),je=n(76558);const Ge=(0,A.once)((async()=>(await n.e(994).then(n.bind(n,61245))).default));var We=n(54119),He=n(79740),ze=n(58569),Ve=n(16673);const Je=(e,t)=>(0,U.IC)(e)&&t("create","post");var Ze=n(85467),Ke=n(73817),$e=n(6527),qe=n(67606),Ye=n(18666);const Xe={container:"juyn_2",button:"SHXBPR",actionsContainer:"JvXA2e",center:"KJPy_8",right:"NcXno_",top:"ovMwby",triangle:"OISqbJ",fixedColor:"Jv0dXX"},Qe="right",et="center";class tt extends i.Component{constructor(e){super(e),ue()(this,"component",null),ue()(this,"rootRef",null),ue()(this,"reposition",(()=>{if(!this.actionsContainer||!this.rootRef)return;const{position:e}=this.state,t=this.rootRef.getBoundingClientRect(),n=this.actionsContainer.getBoundingClientRect(),o=(0,qe.A)().getBoundingClientRect(),r=22-Math.ceil(t.width/2);(o.bottom-n.bottom<0||this.props.top)&&this.setState({top:!0}),e===et&&n.right>window.innerWidth&&this.setState({position:Qe,positionOffset:r}),e===Qe&&this.setState({positionOffset:r})})),ue()(this,"handleClick",(e=>{e.preventDefault(),e.stopPropagation(),this.props.isDisabled||(this.state.isMenuVisible?this.hideComponent():this.showComponent())})),ue()(this,"hideComponent",(()=>{document.removeEventListener("click",this.hideComponent),this.setState({isMenuVisible:!1})})),this.state={position:e.position||et,isMenuVisible:!1,top:!1}}componentWillUnmount(){document.removeEventListener("click",this.hideComponent)}async showComponent(){this.component=await this.props.children(),document.addEventListener("click",this.hideComponent),this.setState({isMenuVisible:!0},this.reposition)}renderMenu(){const{contentFontClassName:e,actionsContainerClassName:t}=this.props,{isMenuVisible:n,position:o,positionOffset:r,top:i}=this.state,s=d()(t,Xe.actionsContainer,e,"blog-text-color","blog-card-border-color",{[Xe.top]:i}),l=d()(Xe.triangle,"blog-card-border-color","blog-card-background-color"),u={};if(o===Qe&&(u.transform=`translateX(${r}px)`),n)return a().createElement("div",{className:s,style:u,ref:e=>this.actionsContainer=e},a().createElement("div",{className:d()(l,"blog-card-background-color")}),a().createElement("div",{className:"blog-card-background-color"},this.component))}render(){const{icon:e,buttonProps:t={}}=this.props,{position:n}=this.state,o=(0,A.get)(t,"useFixedColor"),i=a().createElement(Ke.A,r()({className:d()(Xe.button,"profile-actions-button")},t),a().createElement(Ye.Ay,{className:o?Xe.fixedColor:"blog-button-primary-icon-fill"}));return a().createElement("span",{ref:e=>this.rootRef=e,"data-hook":"dropdown-button",className:d()(Xe.container,Xe[n]),onClick:this.handleClick},e||i,this.renderMenu())}}tt.POSITION_RIGHT=Qe;const nt=(0,$e.A)(tt),ot=e=>(e=>e.maNavigation)(e).notificationsLink;var rt=n(39191);const it=e=>{let{...t}=e;const n=(0,s.d4)(ot)??"",o=(0,s.dN)(),i=e=>{e.preventDefault(),o.navigateToNotifications()};return"undefined"!=typeof window&&window.__navigateWithinForumInternally&&(t.onClick=i),a().createElement(rt.A,r()({to:n},t))},at="jgXCfy",st="xaRdfw",lt="srEdfd",ut=e=>{let{component:t="button",className:n,icon:o,iconClassName:i,label:s,children:l,...u}=e;const c=(0,A.omit)(u,["tReady","lng"]);return a().createElement(t,r()({className:d()(at,n)},c),a().createElement("span",{className:st},a().createElement(o,{className:i}),a().createElement("span",{className:lt},s)),l)},ct=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M11.9499909,15 C11.7183558,16.1411202 10.709479,17 9.5,17 C8.29052104,17 7.28164422,16.1411202 7.05000906,15 L5.1,15 C4.49248678,15 4,14.5522847 4,14 L4,8 C4,5.69998834 5.70827798,3.76269459 8.03431738,3.17949743 C8.18111314,2.50506611 8.78157432,2 9.5,2 C10.2184257,2 10.8188869,2.50506611 10.9656826,3.17949743 C13.291722,3.76269459 15,5.69998834 15,8 L15,14 C15,14.5522847 14.5075132,15 13.9,15 L11.9499909,15 Z M10.9146471,15 L8.08535285,15 C8.29127106,15.5825962 8.84689059,16 9.5,16 C10.1531094,16 10.7087289,15.5825962 10.9146471,15 Z M9.5,4 C7.01471863,4 5,5.78979527 5,7.99761963 L5,14 L14,14 L14,7.99761963 C14,5.78979527 11.9852814,4 9.5,4 Z"}));class dt extends i.Component{render(){const{className:e,t,...n}=this.props;return a().createElement(ut,r()({className:d()("notification-button",e),icon:ct,label:t("header.notifications"),"aria-label":t("header.notifications")},(0,A.omit)(n,"dispatch")))}}const pt=(0,Ve.A)(dt);var mt=n(66818);const ht={container:"EKJcYR",profileActions:"xTozEv",createButtonContainer:"dWlnoI",createPostButtonWrapper:"yDOqhU",createPostButton:"MRlrpJ",profile:"iTEFQF",searchInput:"gXfmMa",notificationBubble:"SPucHg",avatarImage:"ySM9wx",loginButton:"BpWyrA",moreButton:"IAJmuB"},gt=(0,We.A)(Ke.A);class ft extends i.Component{constructor(){super(...arguments),ue()(this,"renderCreatePostButton",(()=>a().createElement("div",{className:ht.createButtonContainer},a().createElement(je.A,{hidePostfix:!0,className:ht.createPostButton,wrapperClassName:ht.createPostButtonWrapper})))),ue()(this,"renderLogin",(()=>a().createElement("div",{className:ht.container},this.renderSearchInput(),this.renderLoginButton()))),ue()(this,"renderMainWidget",(()=>a().createElement("div",{className:ht.container},this.renderSearchInput(),this.renderNotifications(),!this.props.isLiveSiteEditorDisabled&&this.renderProfile(),this.props.showCreatePostButton&&this.renderCreatePostButton()))),ue()(this,"renderLoginButton",(()=>{const{requestLogin:e,isBlogMenuLoginButtonEnabled:t}=this.props;return t?a().createElement(gt,{className:ht.loginButton,isSecondary:!0,onClick:()=>e(),"data-hook":"login-button"},this.props.t("header.sign-up-button")):null})),ue()(this,"renderNotifications",(()=>!this.props.isNotificationsBellDeprecated&&this.props.isBlogMenuLoginButtonEnabled&&this.props.isMemberAreaActive?a().createElement(pt,{className:ht.notificationButton,component:it,iconClassName:"blog-header-widget-icon-fill",bubbleClassName:d()("blog-header-border-color","blog-header-notification-bubble-background-color","blog-header-notification-bubble-text-color",ht.notificationBubble),"data-hook":"notification-button"}):null)),ue()(this,"renderProfile",(()=>{const{currentUser:e,isBlogMenuLoginButtonEnabled:t}=this.props;if(!t)return null;const n=a().createElement("button",{className:d()(ht.avatarImage),"aria-label":this.props.t("header.profile"),"data-hook":"avatar-image"},a().createElement(mt.A,{type:"widget",user:e}));return a().createElement("div",{className:ht.profile},a().createElement(nt,{actionsContainerClassName:ht.profileActions,position:nt.POSITION_RIGHT,icon:n},(async()=>{const t=await Ge();return a().createElement(t,{user:e})})))})),ue()(this,"renderSearchInput",(()=>a().createElement("div",{className:ht.searchInput,"data-hook":"search-input"},this.props.searchInput)))}render(){const{isAuthenticated:e,showLogin:t,viewMode:n,isLiveSiteEditorDisabled:o}=this.props;return n&&"editor"===n&&t&&!o?this.renderLogin():e||o?this.renderMainWidget():this.renderLogin()}}const vt=(0,A.flowRight)(de.A,Ve.A,ze.A,(0,He.A)({isNotificationsBellDeprecated:Ue.vA}),(0,s.Ng)(((e,t,n)=>{const o=(0,k.Rk)(e);return{isMemberAreaActive:(0,Ze.g)(e),isBlogMenuLoginButtonEnabled:(0,g.EY)(e),showLogin:e.headerWidget.showLogin,viewMode:e.viewMode,requestLogin:n.requestLoginPromisified,showHeaderLogin:n.showHeaderLogin,isLiveSiteEditorDisabled:o,showCreatePostButton:!o&&!(0,y.xE)((0,l.aM)(e))&&Je(e,t.canSee)}})))(ft);var yt=n(10766);const bt=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M12.8617648,11.8617648 L15.8633394,14.8633394 C15.9414442,14.9414442 15.9414442,15.0680772 15.8633394,15.1461821 L15.1461821,15.8633394 C15.0680772,15.9414442 14.9414442,15.9414442 14.8633394,15.8633394 L11.8617648,12.8617648 C10.9329713,13.578444 9.76865182,14.0047607 8.50476074,14.0047607 C5.46719462,14.0047607 3.00476074,11.5423269 3.00476074,8.50476074 C3.00476074,5.46719462 5.46719462,3.00476074 8.50476074,3.00476074 C11.5423269,3.00476074 14.0047607,5.46719462 14.0047607,8.50476074 C14.0047607,9.76865182 13.578444,10.9329713 12.8617648,11.8617648 Z M8.5,13 C10.9852814,13 13,10.9852814 13,8.5 C13,6.01471863 10.9852814,4 8.5,4 C6.01471863,4 4,6.01471863 4,8.5 C4,10.9852814 6.01471863,13 8.5,13 Z"})),Et=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10",viewBox:"0 0 10 10",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"M3144.99,617.882l-1.11,1.109-3.88-3.882-3.88,3.882-1.11-1.109,3.88-3.882-3.88-3.882,1.11-1.109,3.88,3.882,3.88-3.882,1.11,1.109L3141.11,614Z",transform:"translate(-3135 -609)"})),At={container:"kD1Yyw",expanded:"ON6A2O",isFullWidth:"ke7j1e",icon:"jMrgc4",input:"m2yAmK",placeholder:"iLMCUc",spacer:"RFnngL",border:"BN409S",clear:"NMRR5Q",clearIcon:"TSwWhL"};class Ct extends i.Component{constructor(e){super(e),ue()(this,"goToSearchPage",(()=>{this.props.setIsLoading("search","",!0),this.props.searchSubmitted({query:this.state.value,post:this.props.post}),this.props.navigateToSearch(this.state.value)})),this.state={value:e.value||"",isExpanded:e.isExpanded},this.setInput=this.setInput.bind(this),this.handleChange=this.handleChange.bind(this),this.handleClear=this.handleClear.bind(this),this.handleKeyUp=this.handleKeyUp.bind(this),this.handleClick=this.handleClick.bind(this)}setInput(e){this.input=e}isExpandable(){return!this.props.isExpanded}expand(){this.setState({isExpanded:!0}),this.props.headerSearchOpened()}collapse(){this.setState({isExpanded:!1}),this.props.headerSearchClosed()}componentDidUpdate(e,t){!t.isExpanded&&this.state.isExpanded&&this.input.focus()}handleChange(e){this.setValue(e.target.value)}handleClear(){this.setValue(""),this.isExpandable()&&this.collapse()}handleClick(){this.isExpandable()&&!this.state.isExpanded?this.expand():this.goToSearchPage()}handleKeyUp(e){"Enter"===e.key?this.goToSearchPage():"Escape"===e.key&&(e.target.blur(),this.handleClear())}setValue(e){this.setState({value:e},(()=>{const{onChange:e}=this.props;e&&e(this.state.value)}))}render(){const{type:e,className:t,inputClassName:n,iconClassName:o,borderClassName:r,color:i,t:s,isFullWidth:l}=this.props,{isExpanded:u,value:c}=this.state,p=this.isExpandable()&&u||!this.isExpandable()&&c,m=d()(At.container,t,"search-input",{[At[e]]:e,[At.expanded]:u,[At.isFullWidth]:l});return a().createElement("div",{className:m,tabIndex:"-1"},a().createElement("div",{tabIndex:u?void 0:"0",role:"button","aria-label":s("search-input.placeholder"),onKeyUp:(0,yt.v2)(this.handleClick),onClick:this.handleClick},a().createElement(bt,{className:d()(At.icon,o),fill:i})),a().createElement("input",{ref:this.setInput,className:d()(At.input,n,"search-input__input"),onChange:this.handleChange,value:c,type:"text",placeholder:s("search-input.placeholder"),onKeyUp:this.handleKeyUp,style:{color:i}}),a().createElement("div",{className:d()(At.spacer,n,At.placeholder)},s("search-input.placeholder")),a().createElement("div",{className:d()(At.border,r),style:{backgroundColor:i}}),p?a().createElement("button",{className:d()(At.clear,"search-input__clear-button"),onClick:this.handleClear,tabIndex:"-1","data-hook":"clear-button"},a().createElement(Et,{className:d()(At.clearIcon,o),fill:i})):null)}}const St=(0,A.flowRight)((0,s.Ng)(((e,t,n)=>({headerSearchOpened:n.headerSearchOpened,headerSearchClosed:n.headerSearchClosed,navigateToSearch:n.navigateToSearch,setIsLoading:n.setIsLoading,searchSubmitted:n.searchSubmitted}))),Ve.A)(Ct),wt="XDcQnF",Ot="OdeuKJ",Nt="WIEJ0e",Pt=e=>a().createElement(St,{post:e,inputClassName:"blog-desktop-header-search-text-color blog-desktop-header-search-font",borderClassName:"blog-desktop-header-search-border-background-color",iconClassName:"blog-desktop-header-search-icon-fill"}),Lt=(0,A.flowRight)(Y,(0,s.Ng)(((e,t)=>{let{postSlug:n}=t;return{isAppBundle:(0,p.ax)(e),isPostPageBundle:(0,p.Ym)(e),post:n?(0,X.N7)(e,n):null}})))((e=>{const{showCategoryLabels:t,showSearch:n,isAppBundle:o,isPostPageBundle:i,post:s}=e;return a().createElement(se,r()({className:d()(wt,o&&Nt,i&&Ot),left:t?a().createElement(Fe,null):a().createElement("div",null),right:a().createElement(vt,{searchInput:n?Pt(s):null})},e))}));var It=n(67924),Tt=n(211);class _t extends i.Component{render(){const{tagName:e="button",children:t,onClick:n,...o}=this.props,i=(0,A.omit)(o,"currentUser","isBlocked","isOwner","dispatch","viewMode","isDemoMode","openModal","isAuthenticated","forPublicUser","isPrivate");return a().createElement(e,r()({},i,{onClick:n}),t)}}const xt=(0,Tt.A)(_t);var Dt=n(39132),kt=n(31429);const Rt="Gka3kA",Mt="mP9yec",Bt=2*parseInt("26px",10),Ft=e=>{let{user:t}=e;return a().createElement("div",{className:d()(Rt,"header-avatar-image")},a().createElement("div",{className:Mt},a().createElement(kt.A,{image:t.image,size:Bt})))},Ut="HvPwlI",jt="pFrNlV",Gt=()=>{const{t:e}=(0,me.B)();return a().createElement(H.A,{to:"/search",className:d()(Ut,"search-button")},a().createElement(bt,{className:"blog-button-primary-icon-fill"}),a().createElement("span",{className:jt},e("search-button.search")))},Wt={container:"QNVRC4",profileActions:"RiU29q",searchButton:"oOaDEN",signUp:"Iv7yDs"};const Ht=()=>{const{showLoginButton:e,showSearch:t}=f(),{currentUser:n,isAuthenticated:o}=(0,Dt.A)(),{t:r}=(0,me.B)(),i=(0,s.d4)(k.Rk);return a().createElement("div",{className:d()(Wt.container,"header-buttons")},t?a().createElement("div",{className:Wt.searchButton},a().createElement(Gt,null)):null,e?function(e){if(e)return a().createElement("div",{className:Wt.notificationButtonSpacing},a().createElement(pt,{component:it,iconClassName:"blog-button-primary-icon-color",className:"blog-icon-secondary-background-color"}))}(o):null,e&&!i?function(e,t,n){if(e)return a().createElement(nt,{actionsContainerClassName:Wt.profileActions,position:nt.POSITION_RIGHT,icon:a().createElement(Ft,{user:t})},(async()=>{const e=await Ge();return a().createElement(e,{user:t})}));const o=d()(Wt.signUp,"blog-button-primary-text-color","header-buttons__sign-up");return a().createElement(xt,{tagName:"span",className:o},n("header-buttons.sign-up"))}(o,n,r):null)},zt="zXI4K_",Vt=e=>{let{to:t}=e;const{t:n}=(0,me.B)(),o=(0,s.d4)(U.YC),r=(0,i.useMemo)((()=>void 0===t?"span":H.A),[t]),l=(0,i.useMemo)((()=>({Blog:n("blog-mobile-header.title.blog"),Post:n("blog-mobile-header.title.post"),Category:n("blog-mobile-header.title.category")}[o]||o)),[n,o]);return a().createElement("p",{className:zt},a().createElement(r,{to:t},l))},Jt={container:"VjJ7rB",header:"isG_om",left:"Y1KjpM",profile:"IfQDSA",loadingBar:"LoSEse"},Zt=e=>{let{left:t=a().createElement("div",{className:Jt.left},a().createElement("span",{className:Jt.title},a().createElement(Vt,null))),right:n=a().createElement(Ht,null),menu:o,hideNavBar:r}=e;const{showBlogMenu:i,showCategoryLabels:s}=f(),{contentFontClassName:l}=(0,It.A)(),u=o&&i&&s,c=d()(Jt.container,"blog-button-primary-text-color",l),p=d()(Jt.header,"blog-button-background-color");return a().createElement("div",{className:c},!r&&i&&a().createElement("div",{className:p},t,n),u&&a().createElement("div",{className:"blog-header-background-color"},o))},Kt=(0,s.Ng)((e=>({categories:(0,D.bW)(e)})))((e=>{let{categories:t,menu:n,...o}=e;return t.length?a().createElement(Zt,r()({menu:n},o)):a().createElement(Zt,o)}));var $t=n(25993),qt=n(86513);var Yt=n(711),Xt=n(87007),Qt=n(72757);class en extends i.Component{constructor(e){super(e),this.handleClick=this.handleClick.bind(this)}componentDidMount(){this.props.autoLogin&&setTimeout((()=>this.handleClick()),100)}handleClick(){const{viewMode:e,isDemoMode:t,openModal:n,requestLogin:o,isTemplate:r}=this.props;t?n(qt.Bh,{viewMode:e,isTemplate:r}):o()}render(){const{t:e}=this.props;return a().createElement(Ke.A,{className:d()(Qt.A.button,"login-button"),onClick:this.handleClick},e("login-button.sign-up"))}}const tn=(0,s.Ng)(((e,t,n)=>{return{viewMode:(0,U.Lz)(e),isDemoMode:(0,Yt.Jz)(e),isTemplate:(0,Xt.ZK)(e),openModal:n.openModal,requestLogin:(o=n.requestLoginPromisified,function(){const e=document.activeElement;return o(...arguments).finally((()=>e.focus()))})};var o}))((0,Ve.A)(en)),nn="TM6znx",on="nb7lGW",rn="WD81sR",an="AZOuwY",sn="qdoEtQ",ln=["login-screen","blog-card-background-color","blog-card-border-color","blog-text-color"],un=(0,$t.A)((0,$e.A)((e=>{let{children:t,borderWidth:n,titleFontClassName:o,contentFontClassName:i,...s}=e;const l=d()(on,...ln,i),{t:u}=(0,me.B)();return a().createElement("div",{className:l,style:{borderWidth:n}},a().createElement("div",{className:nn},t),a().createElement("div",{className:o},a().createElement("h1",{className:d()(rn,"login-screen__title")},u("login-screen.login-required"))),a().createElement("p",{className:d()(an,"login-screen__description")},u("login-screen.login-description")),a().createElement("div",{className:d()(sn,"login-screen__login-button-container")},a().createElement(tn,r()({autoLogin:!0},s))))})));var cn=n(40405);const dn="ssr-success";var pn=n(11859);const mn=()=>{const e=(0,s.d4)(U.fU),t=(0,s.d4)(((e,t)=>t)),n=(0,s.d4)(pn.R),o=(0,s.d4)(U._o),r=(0,s.d4)(U.KV),l=(0,s.d4)(U.Zr),u=(0,s.dN)(),c=()=>{const e=o&&!r;var n;e&&console.log("applicationLoaded"),l&&(u.interactionStarted(dn),"undefined"!=typeof window&&!window.clientSideRender&&(null==(n=window.sssr)?void 0:n.success)&&(e&&console.log("Report SSR success"),u.interactionEnded(dn))),t.appLoadBI.loaded(),requestAnimationFrame((()=>{u.appLoaded()}))},d=(0,i.useRef)();return(0,i.useEffect)((()=>(e||n||d.current||(d.current=setTimeout((()=>c())),"undefined"!=typeof performance&&performance.mark&&performance.mark("communities-app-loaded")),()=>{clearTimeout(d.current)}))),n?a().createElement("div",{"data-hook":"blog-loaded-indicator",style:{display:"none"}}):null},hn=e=>{let{children:t}=e;return a().createElement("div",null,t)},gn="SO9njw",fn=e=>{let{children:t}=e;return a().createElement("div",{className:gn},t)},vn=e=>{let{children:t}=e;return a().createElement("div",{className:gn},t)};var yn=n(971),bn=n(67957),En=(n(35594),n(51880)),An=n(69847);const Cn=e=>(0,U.Ny)(e)?1:(0,A.get)((0,En.tl)(e),bn.R2,1),Sn=(0,s.Ng)(((e,t)=>{let{borderWidth:n,applyFeedDesign:o}=t;return{borderWidth:o?n:Cn(e)}})),wn=(0,A.flowRight)(An.A,yn.A,Sn,(0,q.A)("WithPostBorderWidth")),On="arh2qf",Nn="cJscj1",Pn="cTdFFO",Ln="clf9mN",In="wdbmEY",Tn="nAaNon",_n=(0,A.flowRight)((0,He.A)({unifyEmptyStatesExperimentEnabled:Ue.Nv}),$e.A,yn.A,wn)((e=>{let{title:t,content:n,style:o={},className:r,children:i,titleFontClassName:s,contentFontClassName:l,borderWidth:u,isLayoutTextOnImage:c=!1,titleClassName:p,unifyEmptyStatesExperimentEnabled:m,getPostClassName:h}=e;const g=d()(On,l,r,c?Tn:["blog-card-background-color","blog-text-color"],"blog-card-border-color",null==h?void 0:h("border-color","post-container","background-color")),f=d()(s,p,m&&(null==h?void 0:h("title-font","title-color"))),v=d()(Pn,m&&(null==h?void 0:h("description-font","description-color")));return a().createElement("div",{"data-hook":"empty-state-container",className:g,style:{borderWidth:u,...o}},a().createElement("div",{className:f,"data-hook":"empty-states__title"},a().createElement("div",{tabIndex:0,className:Nn},t)),a().createElement("div",{className:v},a().createElement("div",{className:Ln},n)),i&&a().createElement("div",{className:In},i))})),xn=(0,Ve.A)((e=>{let{t,...n}=e;return a().createElement(_n,r()({focusOnLoad:!0,title:t("not-found.nothings-showing-up"),content:t("not-found.head-back")},n),a().createElement(Ke.A,{component:H.A,to:"/"},t("not-found.back")," "))})),Dn="mbKyhH",kn="hYUP9L",Rn=e=>{let{className:t,noSpacing:n,children:o,...i}=e;const s=(0,A.omit)(i,"isDesktop","isMobile","section","layoutType","layoutName","dispatch");return a().createElement("div",r()({className:d()(Dn,{[kn]:n},t)},s),o)},Mn=(0,u.A)(vn,fn);var Bn=n(1851);const Fn=(0,s.Ng)(((e,t,n)=>({query:decodeURIComponent((0,Bn.PH)((0,A.get)(t,"params.query",""))),navigateToSearch:n.navigateToSearch})))((e=>{let{component:t,left:n,query:o,inputClassName:i,iconClassName:s,borderClassName:l,showWidget:u=!0,navigateToSearch:c,...d}=e;const p=(0,A.debounce)((e=>c(e)),500),m=a().createElement(St,{isExpanded:!0,isFullWidth:!u,value:o,onChange:p,inputClassName:i,iconClassName:s,borderClassName:l});return a().createElement(t,r()({left:n,right:u?a().createElement(vt,{searchInput:m}):m},d))})),Un=e=>a().createElement(Fn,r()({component:se,left:a().createElement(Fe,null),inputClassName:"blog-desktop-header-search-text-color blog-desktop-header-search-font",borderClassName:"blog-desktop-header-search-border-background-color",iconClassName:"blog-desktop-header-search-icon-fill"},e));const jn=(0,n(22591).A)((e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M5.95685444,9 L14.8,9 C14.9104569,9 15,9.08954305 15,9.2 L15,9.8 C15,9.91045695 14.9104569,10 14.8,10 L5.87157268,10 L8.80832611,12.9367534 C8.88643097,13.0148583 8.88643097,13.1414913 8.80832611,13.2195961 L8.38406204,13.6438602 C8.30595719,13.7219651 8.17932419,13.7219651 8.10121933,13.6438602 L4.14142136,9.68406223 C4.10236893,9.6450098 4.08284271,9.59382534 4.08284271,9.54264088 C4.08284271,9.49145641 4.10236893,9.44027195 4.14142136,9.40121952 L8.10121933,5.44142155 C8.17932419,5.36331669 8.30595719,5.36331669 8.38406204,5.44142155 L8.80832611,5.86568562 C8.88643097,5.94379047 8.88643097,6.07042347 8.80832611,6.14852833 L5.95685444,9 Z"}))),(e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M5.96695729,9 L14.8828427,9 C14.9932997,9 15.0828427,9.08954305 15.0828427,9.2 L15.0828427,9.8 C15.0828427,9.91045695 14.9932997,10 14.8828427,10 L5.9031385,10 L8.854916,12.9517775 C8.93361354,13.030475 8.93409401,13.1575885 8.85598915,13.2356934 L8.43172508,13.6599574 C8.35362022,13.7380623 8.22650676,13.7375818 8.14780922,13.6588843 L4.15796309,9.66903816 C4.11861432,9.62968939 4.09881982,9.57823664 4.09862562,9.52685797 C4.09843142,9.47547931 4.11783752,9.42417473 4.15688994,9.3851223 L8.11668792,5.42532432 C8.19479278,5.34721946 8.32190624,5.34769993 8.40060378,5.42639747 L8.82808729,5.85388098 C8.90678484,5.93257853 8.9072653,6.05969199 8.82916044,6.13779685 L5.96695729,9 Z",transform:"translate(9.582843, 9.542641) scale(-1, 1) translate(-9.582843, -9.542641) "})))),Gn=(0,s.Ng)(((e,t,n)=>({goBack:n.goBack})))((e=>{let{children:t,className:n,goBack:o}=e;return a().createElement("button",{className:n,onClick:o},t)})),Wn="t4o8yl",Hn="opxKQF",zn="lnfRGj",Vn="PRDfW5",Jn=(0,A.flowRight)($e.A,Ve.A)((e=>{let{component:t=Gn,arrow:n,text:o="header-back-button.back",t:i,contentFontClassName:s,...l}=e;const u=d()(Hn,"blog-button-primary-icon-fill"),c="button"===t?(0,A.omit)(l,["titleFontClassName","dispatch","tReady","lng"]):l,p=d()(zn,s),m=d()(Vn,"blog-button-primary-text-color");return a().createElement(t,r()({className:d()(Wn,"header-back-button")},c),a().createElement("span",{className:p},n?a().createElement(jn,{className:u}):null,a().createElement("span",{className:m},o&&i(o))))})),Zn="JKDAPr",Kn=(0,A.flowRight)($e.A)((e=>{let{contentFontClassName:t,...n}=e;const o=a().createElement("div",{className:Zn},a().createElement(Jn,{arrow:!0,text:"",component:H.A,to:"/"})),i=d()("blog-button-primary-text-color",t);return a().createElement(Fn,r()({component:Zt,left:o,inputClassName:i,borderClassName:"blog-button-primary-text-background-color",iconClassName:"blog-button-primary-icon-fill",showWidget:!1},n))}));var $n=n(77560);const qn="zp8IQu",Yn="WqSDrh",Xn=e=>{let{shouldShowLoader:t=!0,isLoading:n,children:o}=e;return a().createElement("div",{className:qn},t&&n?a().createElement("div",{key:"loader",className:Yn},a().createElement($n.A,null)):null,n?null:a().createElement("div",{key:"content"},o))},Qn="Wr5XZS",eo="cvByyI",to=e=>{let{children:t}=e;return a().createElement("div",{className:Qn},a().createElement("div",{className:eo},t))},no=e=>e.isLoading,oo=function(e,t,n){return void 0===n&&(n=""),Boolean(n?(0,A.get)(no(e),[t,n]):no(e)[t])},ro=(e,t)=>oo(e,"category",t),io=(e,t)=>oo(e,"tag",t),ao=e=>oo(e,"feed-posts"),so=e=>oo(e,"search"),lo=e=>oo(e,"archive"),uo=e=>oo(e,"hashtag-posts"),co="YFveWU",po=(0,Ve.A)((0,$t.A)((e=>{let{borderWidth:t,t:n}=e;return a().createElement("div",{style:{marginTop:-t}},a().createElement(_n,{className:co,title:n("no-search-results.no-results-found-title"),content:n("no-search-results.try-again")}))}))),mo={page:1,pageSize:10,entityCount:0,showPosition:!1,component:e=>{let{children:t,...n}=e;return a().createElement("div",(0,A.omit)(n,["page","isDisabled","isActive"]),t)}};let ho=function(e){return e.FIRST="first",e.LAST="last",e.NEXT="next",e.PREVIOUS="previous",e.PAGE="page",e}({});const go={page:"KhVdjt",previous:"acbUIp",first:"IeY3vx",next:"gwgQCb",last:"lfi41p",active:"sI4Nnn",large:"wR7lgz",arrow:"RcfyI6",inner:"ixAZGX",container:"ynW8KF",position:"fOICak",withPosition:"IZ6Wrl",disabled:"BCQZoR"},fo=e=>{let{children:t,label:n,arrowClass:o,disabledClass:i,type:s,state:l,showPosition:u,component:c}=e;const p={[ho.FIRST]:()=>({isEnabled:l.currentPage>(u?1:3),isVisible:l.lastPage>(u?2:5),pageToOpen:1}),[ho.PREVIOUS]:()=>({isEnabled:l.currentPage>1,isVisible:!0,pageToOpen:l.currentPage-1}),[ho.NEXT]:()=>({isEnabled:l.currentPage({isEnabled:l.currentPage(u?2:5),pageToOpen:l.lastPage})},{isVisible:m,isEnabled:h,pageToOpen:g}=p[s]();if(!m)return null;const f=h?l.getButtonEventHandlers(g,s):void 0;return a().createElement(c,r()({},f,{page:g,isDisabled:!h,className:d()(go[s],o,!h&&i),"aria-label":n,"data-hook":`pagination__${s}`}),t)};const vo=e=>{let{state:t,component:n,activeClass:o,innerClass:i}=e;const{t:s}=(0,me.B)(),l=function(e){const t=Math.floor(2.5);let n=1,o=5;e.lastPage<5?o=e.lastPage:e.currentPage+t+1>e.lastPage?(n=e.lastPage-2*t,o=e.lastPage):e.currentPage>t+1&&(n=e.currentPage-t,o=e.currentPage+t);return(0,A.range)(n,o+1)}(t);return a().createElement(a().Fragment,null,l.map((e=>{const l=e===t.currentPage,u=d()(go.page,i,{"blog-button-color":l},o?{[o]:l}:void 0),c=l?void 0:t.getButtonEventHandlers(e,ho.PAGE);return a().createElement(n,r()({},c,{key:e,page:e,isActive:l,className:u,"aria-label":s("pagination.page",{page:e}),"data-hook":`pagination__${e}`}),e)})))},yo=e=>{let{className:t,state:n}=e;return a().createElement("div",{className:t},n.currentPage,"/",n.lastPage)},bo=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"7",height:"12",viewBox:"0 0 7 12",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"M 1.503579,6.000003 6.933844,0.824205 c 0.08821,-0.08407 0.08821,-0.220384 0,-0.304458 L 6.454703,0.063059 c -0.08821,-0.08407 -0.23122,-0.08407 -0.319427,0 L 0.066156,5.847774 C 0.022052,5.889811 0,5.944907 0,6.000003 c 0,0.0551 0.02205,0.110193 0.06616,0.152229 l 6.06912,5.784715 c 0.08821,0.08407 0.23122,0.08407 0.319427,0 l 0.479141,-0.456688 c 0.08821,-0.08407 0.08821,-0.220383 0,-0.304459 z"})),Eo=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"7",height:"12",viewBox:"0 0 7 12",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"m 5.4964265,6.0000035 -5.430265,5.1757985 c -0.08821,0.08407 -0.08821,0.220384 0,0.304458 l 0.479141,0.456688 c 0.08821,0.08407 0.23122,0.08407 0.319427,0 l 6.06912,-5.7847155 c 0.044104,-0.042037 0.066156,-0.097133 0.066156,-0.152229 0,-0.0551 -0.02205,-0.110193 -0.06616,-0.15223 l -6.06912,-5.784715 c -0.08821,-0.08407 -0.23122,-0.08407 -0.319427,0 l -0.479141,0.456688 c -0.08821,0.08407 -0.08821,0.220385 0,0.304459 z"}));var Ao=n(58632);const Co="specs.wixBlog.LimitPaginationTo100Pages";var So=n(3084),wo=n(26153);const Oo=(e,t)=>{const n=new So.A(t||"").pathname().endsWith("/");return(0,wo.d)(((e,t=!1)=>`${e>1?`/page/${e}`:""}${t?"/":""}`)(e,n),t)};const No=(e,t=1)=>Math.ceil(e/t),Po=(e,t)=>n=>{n.keyCode===e&&t(n)};const Lo=e=>{const t=function(e){let{page:t=mo.page,entityCount:n=mo.entityCount,pageSize:o=mo.pageSize,onChange:r}=e;const a=(0,s.d4)((e=>(0,Ao.b)(e,Co)));let l=n;if(a){const e=100*o;l=e>n?n:e}const[u,c]=(0,i.useState)({currentPage:t,lastPage:No(l,o)});(0,i.useEffect)((()=>{c({currentPage:t,lastPage:No(l,o)})}),[t,l,o]);const d=(e,t)=>n=>{n.preventDefault(),c((t=>({...t,currentPage:e}))),null==r||r({page:e,from:(e-1)*o,to:e*o,buttonType:t})};return{currentPage:u.currentPage,lastPage:u.lastPage,getButtonEventHandlers:(e,t)=>{var n;if(r)return{onClick:d(e,t),onKeyUp:(n=d,e=>Po(13,n)(e)),tabIndex:0}}}}(e),{t:n}=(0,me.B)(),o=function(){const e=(0,s.d4)(U.DY),t=t=>e?"right"===t?bo:Eo:"right"===t?Eo:bo;return{Left:t("left"),Right:t("right")}}(),{entityCount:l=mo.entityCount,showPosition:u=mo.showPosition,component:c=mo.component,pageSize:p=mo.pageSize,arrowFillClass:m="blog-icon-fill",activeClass:h,className:g,pageClass:f,positionClass:v}=e;if(l<=p)return null;const y={state:t,showPosition:u,arrowClass:go.arrow,disabledClass:go.disabled,component:c};return a().createElement("div",{className:d()(go.container,u&&go.withPosition,g),"aria-live":"polite"},a().createElement(fo,r()({},y,{label:n("pagination.first-page"),type:ho.FIRST}),a().createElement(o.Left,{className:m}),a().createElement(o.Left,{className:m})),a().createElement(fo,r()({},y,{label:n("pagination.previous-page"),type:ho.PREVIOUS}),a().createElement(o.Left,{className:m})),u?a().createElement(yo,{state:t,className:d()(go.position,v)}):a().createElement(vo,{activeClass:d()(go.active,"blog-button-color",h),component:c,innerClass:d()(go.page,f),state:t}),a().createElement(fo,r()({},y,{label:n("pagination.next-page"),type:ho.NEXT}),a().createElement(o.Right,{className:m})),a().createElement(fo,r()({},y,{label:n("pagination.last-page"),type:ho.LAST}),a().createElement(o.Right,{className:m}),a().createElement(o.Right,{className:m})))};var Io=n(62445),To=n(44559),_o=n(57106),xo=n(8778),Do=n(38579),ko=n(14509),Ro=n(92341),Mo=n.n(Ro);var Bo=n(27579),Fo=n(88954);Object.freeze({ONE:"header-one",TWO:"header-two",THREE:"header-three",FOUR:"header-four",FIVE:"header-five",SIX:"header-six",PARAGRAPH:"unstyled"}),Object.freeze(["header-one","header-two","header-three","header-four","header-five","header-six","unordered-list-item","ordered-list-item","blockquote","atomic","code-block","unstyled"]);const Uo="wix-draft-plugin-link-button",jo="wix-draft-plugin-action-button",Go="wix-draft-plugin-divider",Wo="wix-draft-plugin-file-upload",Ho="wix-draft-plugin-gallery",zo="wix-draft-plugin-giphy",Vo="wix-draft-plugin-html",Jo="wix-draft-plugin-image",Zo="IMAGE",Ko="wix-rich-content-plugin-spoiler",$o="wix-rich-content-plugin-collapsible-list",qo="LINK",Yo="wix-draft-plugin-link-preview",Xo="wix-draft-plugin-map",Qo="mention",er="wix-draft-plugin-vertical-embed",tr="wix-draft-plugin-video",nr="ricos-audio",or="VIDEO-EMBED",rr="wix-draft-plugin-poll",ir="wix-rich-content-plugin-table",ar="ANCHOR",sr="EMBED",lr="EXTERNAL",ur=(Fo.A.DIVIDER,Fo.A.IMAGE,Fo.A.GALLERY,Fo.A.FILE,Fo.A.GIF,Fo.A.VIDEO,Fo.A.AUDIO,Fo.A.LINK_PREVIEW,Fo.A.EMBED,Fo.A.POLL,Fo.A.APP_EMBED,Fo.A.COLLAPSIBLE_LIST,Fo.A.COLLAPSIBLE_ITEM,Fo.A.COLLAPSIBLE_ITEM_TITLE,Fo.A.COLLAPSIBLE_ITEM_BODY,Fo.A.HTML,Fo.A.CODE_BLOCK,Fo.A.TABLE,Fo.A.TABLE_ROW,Fo.A.TABLE_CELL,{[Fo.A.BUTTON]:"buttonData",[Fo.A.DIVIDER]:"dividerData",[Fo.A.FILE]:"fileData",[Fo.A.GALLERY]:"galleryData",[Fo.A.GIF]:"gifData",[Fo.A.HTML]:"htmlData",[Fo.A.IMAGE]:"imageData",[Fo.A.COLLAPSIBLE_LIST]:"collapsibleListData",[Fo.A.LINK_PREVIEW]:"linkPreviewData",[Fo.A.MAP]:"mapData",[Fo.A.APP_EMBED]:"appEmbedData",[Fo.A.VIDEO]:"videoData",[Fo.A.POLL]:"pollData",[Fo.A.TABLE]:"tableData",[Fo.A.TABLE_CELL]:"tableCellData",[Fo.A.PARAGRAPH]:"paragraphData",[Fo.A.LIST_ITEM]:"paragraphData",[Fo.A.HEADING]:"headingData",[Fo.A.CODE_BLOCK]:"codeBlockData",[Fo.A.BLOCKQUOTE]:"paragraphData",[Fo.A.EMBED]:"embedData",[Fo.A.EXTERNAL]:"externalData",[Fo.A.AUDIO]:"audioData"});function cr(e){return[...e].reduce(((e,[t,n])=>(e[t]=n,e)),{})}var dr=Object.defineProperty,pr=Object.getOwnPropertySymbols,mr=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,gr=(e,t,n)=>t in e?dr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,fr=(e,t)=>{for(var n in t||(t={}))mr.call(t,n)&&gr(e,n,t[n]);if(pr)for(var n of pr(t))hr.call(t,n)&&gr(e,n,t[n]);return e};const vr={"unordered-list-item":Fo.A.BULLETED_LIST,"ordered-list-item":Fo.A.ORDERED_LIST},yr=(cr(Object.entries(vr).map((([e,t])=>[t,e]))),{[Uo]:Fo.A.BUTTON,[jo]:Fo.A.BUTTON,[Go]:Fo.A.DIVIDER,[Wo]:Fo.A.FILE,[Ho]:Fo.A.GALLERY,[zo]:Fo.A.GIF,[Vo]:Fo.A.HTML,[Jo]:Fo.A.IMAGE,[Zo]:Fo.A.IMAGE,[$o]:Fo.A.COLLAPSIBLE_LIST,[Yo]:Fo.A.LINK_PREVIEW,[Xo]:Fo.A.MAP,[er]:Fo.A.APP_EMBED,[tr]:Fo.A.VIDEO,[nr]:Fo.A.AUDIO,[or]:Fo.A.VIDEO,[rr]:Fo.A.POLL,[ir]:Fo.A.TABLE,[sr]:Fo.A.EMBED,[lr]:Fo.A.EXTERNAL}),br=[Zo,or],Er=(cr(Object.entries(yr).filter((([e])=>!br.includes(e))).map((([e,t])=>[t,e]))),{BOLD:Fo.g.BOLD,ITALIC:Fo.g.ITALIC,UNDERLINE:Fo.g.UNDERLINE,[Ko]:Fo.g.SPOILER,[ar]:Fo.g.ANCHOR,[Qo]:Fo.g.MENTION,[qo]:Fo.g.LINK,[lr]:Fo.g.EXTERNAL}),Ar=(Fo.g.BOLD,Fo.g.BOLD,Fo.g.ITALIC,Fo.g.ITALIC,Fo.g.UNDERLINE,Fo.g.UNDERLINE,fr(fr({},yr),Er),cr(Object.entries(Er).map((([e,t])=>[t,e])))),Cr={unstyled:"paragraphData","unordered-list-item":"paragraphData","ordered-list-item":"paragraphData","header-one":"headingData","header-two":"headingData","header-three":"headingData","header-four":"headingData","header-five":"headingData","header-six":"headingData","code-block":"codeBlockData",blockquote:"paragraphData"},Sr=cr(Object.entries(yr).map((([e,t])=>[e,ur[t]]))),wr=fr(fr({},{[ar]:"anchorData",[qo]:"linkData",[Qo]:"mentionData",EMOJI_TYPE:"emojiData"}),{COLOR:"colorData",FONT_SIZE:"fontSizeData"});fr(fr(fr({},wr),Sr),Cr);n(23414),Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;Object.defineProperty,Object.defineProperties,Object.getOwnPropertyDescriptors,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;var Or=Object.defineProperty,Nr=Object.defineProperties,Pr=Object.getOwnPropertyDescriptors,Lr=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,Tr=Object.prototype.propertyIsEnumerable,_r=(e,t,n)=>t in e?Or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xr=(e,t)=>{for(var n in t||(t={}))Ir.call(t,n)&&_r(e,n,t[n]);if(Lr)for(var n of Lr(t))Tr.call(t,n)&&_r(e,n,t[n]);return e},Dr=(e,t)=>Nr(e,Pr(t)),kr=(e,t)=>{var n={};for(var o in e)Ir.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&Lr)for(var o of Lr(e))t.indexOf(o)<0&&Tr.call(e,o)&&(n[o]=e[o]);return n};const Rr=e=>{let t=0;return(null!=e?e:[]).reduce((({text:e,decorationMap:n},o)=>{let r=e;if(o.textData){const{text:e,decorations:i}=o.textData,a=Array.from(e).length;r+=e,i&&Br(i).forEach((e=>{n[e.type]||(n[e.type]=[]),n[e.type]=[...n[e.type],Dr(xr({},e),{start:t,end:t+a})]})),t+=a}return{text:r,decorationMap:n}}),{text:"",decorationMap:{}})},Mr=e=>{var t,n;if((null==(t=e.nodes)?void 0:t[0].type)===Fo.A.PARAGRAPH)return e.nodes[0];throw Error(`Expected a paragraph node but found ${null==(n=e.nodes)?void 0:n[0].type}`)},Br=e=>e.flatMap((e=>((e,...t)=>t.reduce(((e,t)=>t(e)),e))(e,Fr,jr,Gr,Wr,Hr,Ur))),Fr=e=>{const t=(0,A.omit)(Ar,[Fo.g.BOLD,Fo.g.ITALIC,Fo.g.UNDERLINE])[null==e?void 0:e.type];return t?Dr(xr({},e),{type:t}):e},Ur=e=>{var t=e,{colorData:n}=t,o=kr(t,["colorData"]);if(!n)return o;const{foreground:r,background:i}=n;return[r&&{FG:r},i&&{BG:i}].filter((e=>e)).map((e=>Dr(xr({},o),{type:JSON.stringify(e)})))},jr=e=>{var t,n,o=e,{fontSizeData:r}=o,i=kr(o,["fontSizeData"]);return r?Dr(xr({},i),{type:JSON.stringify({"font-size":(null==(t=r.value)?void 0:t.toString())+((null==(n=r.unit)?void 0:n.toLowerCase())||"px")})}):i},Gr=e=>{var t=e,{fontWeightValue:n}=t,o=kr(t,["fontWeightValue"]);return o.type===Fo.g.BOLD?Dr(xr({},o),{type:!n||n>=700?"BOLD":"NOT_BOLD"}):o},Wr=e=>{var t=e,{italicData:n}=t,o=kr(t,["italicData"]);const r=void 0===n;return o.type===Fo.g.ITALIC?Dr(xr({},o),{type:r||n?"ITALIC":"NOT_ITALIC"}):o},Hr=e=>{var t=e,{underlineData:n}=t,o=kr(t,["underlineData"]);const r=void 0===n;return o.type===Fo.g.UNDERLINE?Dr(xr({},o),{type:r||n?"UNDERLINE":"NOT_UNDERLINE"}):o},zr=(e,t)=>{const{text:n,decorationMap:{[qo]:o}}=Rr(e.nodes),r=t?Zr(n,o):n;return $r(r)},Vr=(e,t,n=0)=>{var o,r;return null!=(r=null==(o=e.nodes)?void 0:o.flatMap(((o,r)=>{var i,a;return null!=(a=null==(i=o.nodes)?void 0:i.flatMap(((o,i)=>{if(o.type===Fo.A.PARAGRAPH||o.type===Fo.A.HEADING){const a=zr(o,t);if(0===i){if(e.type===Fo.A.ORDERED_LIST)return" ".repeat(n)+(r+1)+". "+a;if(e.type===Fo.A.BULLETED_LIST)return" ".repeat(n)+" \u2022 "+a}return" ".repeat(n+1)+a}return o.type===Fo.A.ORDERED_LIST||o.type===Fo.A.BULLETED_LIST?Vr(o,t,n+1):[]})))?a:[]})))?r:[]},Jr=(e,t,n)=>Vr(e,n).join(t),Zr=(e,t=[])=>t.sort(((e,t)=>e.end-t.end)).reduce(((t,n)=>{var o,r;return Kr(t,n.end+t.length-e.length+1,`(${null==(r=null==(o=n.linkData)?void 0:o.link)?void 0:r.url})`)}),e),Kr=(e,t,n)=>e.substring(0,t)+n+e.substring(t),$r=e=>e.endsWith("\n")?e.substring(0,e.length-1):e;function*qr({imageData:e},t){const{caption:n}=e||{},{src:o}=(null==e?void 0:e.image)||{},r=(null==o?void 0:o.id)||(null==o?void 0:o.custom);return[n,yield{command:"getImageUrl",data:`https://static.wixstatic.com/media/${null==r?void 0:r.replace("media/","")}`}].filter(Boolean).join(t)}const Yr=e=>`https://static.wixstatic.com/${e}`;function*Xr({videoData:e},t){const{video:n,title:o}=e||{},{custom:r,id:i,url:a}=(null==n?void 0:n.src)||{},s=i||r,l=a||"";let u;return u=s?yield{command:"getVideoUrl",data:s}:yield{command:"getVideoEmbeddedUrl",data:l},o?o+t+u:u}function*Qr({audioData:e},t){const{audio:n,name:o}=e||{},{id:r,url:i}=(null==n?void 0:n.src)||{};let a=i||"";return r&&(a=yield{command:"getAudioUrl",data:r}),o?o+t+a:a}function*ei({gifData:e}){var t;let n=(null==(t=null==e?void 0:e.original)?void 0:t.gif)||"";return n&&(n=yield{command:"getGifUrl",data:n}),n}const ti=({mapData:e})=>{const{address:t}=(null==e?void 0:e.mapSettings)||{};return t||""},ni=({appEmbedData:e},t)=>{const{url:n,name:o}=e||{};return[o,n].filter(Boolean).join(t)},oi=({linkPreviewData:e})=>{const{url:t}=(null==e?void 0:e.link)||{};return t||""},ri=({embedData:e},t)=>{var n;return[null==(n=null==e?void 0:e.oembed)?void 0:n.title,null==e?void 0:e.src].filter(Boolean).join(t)},ii={seconds:"0",nanos:0},ai={fromJSON(e){const t=Object.assign({},ii);return t.seconds=void 0!==e.seconds&&null!==e.seconds?String(e.seconds):"0",t.nanos=void 0!==e.nanos&&null!==e.nanos?Number(e.nanos):0,t},toJSON(e){const t={};return void 0!==e.seconds&&(t.seconds=e.seconds),void 0!==e.nanos&&(t.nanos=Math.round(e.nanos)),t}};var si,li,ui,ci;!function(e){e.AUTO="AUTO",e.LEFT="LEFT",e.RIGHT="RIGHT",e.CENTER="CENTER",e.JUSTIFY="JUSTIFY",e.UNRECOGNIZED="UNRECOGNIZED"}(si||(si={})),function(e){e.SELF="SELF",e.BLANK="BLANK",e.PARENT="PARENT",e.TOP="TOP",e.UNRECOGNIZED="UNRECOGNIZED"}(li||(li={})),function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT",e.UNRECOGNIZED="UNRECOGNIZED"}(ui||(ui={})),function(e){e.CONTENT="CONTENT",e.SMALL="SMALL",e.ORIGINAL="ORIGINAL",e.FULL_WIDTH="FULL_WIDTH",e.UNRECOGNIZED="UNRECOGNIZED"}(ci||(ci={}));const di={textAlignment:si.AUTO},pi={fromJSON(e){const t=Object.assign({},di);return t.textAlignment=void 0!==e.textAlignment&&null!==e.textAlignment?function(e){switch(e){case 0:case"AUTO":return si.AUTO;case 1:case"LEFT":return si.LEFT;case 2:case"RIGHT":return si.RIGHT;case 3:case"CENTER":return si.CENTER;case 4:case"JUSTIFY":return si.JUSTIFY;default:return si.UNRECOGNIZED}}(e.textAlignment):si.AUTO,t.lineHeight=void 0!==e.lineHeight&&null!==e.lineHeight?String(e.lineHeight):void 0,t},toJSON(e){const t={};return void 0!==e.textAlignment&&(t.textAlignment=function(e){switch(e){case si.AUTO:return"AUTO";case si.LEFT:return"LEFT";case si.RIGHT:return"RIGHT";case si.CENTER:return"CENTER";case si.JUSTIFY:return"JUSTIFY";default:return"UNKNOWN"}}(e.textAlignment)),void 0!==e.lineHeight&&(t.lineHeight=e.lineHeight),t}},mi={target:li.SELF},hi={fromJSON(e){const t=Object.assign({},mi);return t.url=void 0!==e.url&&null!==e.url?String(e.url):void 0,t.anchor=void 0!==e.anchor&&null!==e.anchor?String(e.anchor):void 0,t.target=void 0!==e.target&&null!==e.target?function(e){switch(e){case 0:case"SELF":return li.SELF;case 1:case"BLANK":return li.BLANK;case 2:case"PARENT":return li.PARENT;case 3:case"TOP":return li.TOP;default:return li.UNRECOGNIZED}}(e.target):li.SELF,t.rel=void 0!==e.rel&&null!==e.rel?fi.fromJSON(e.rel):void 0,t.customData=void 0!==e.customData&&null!==e.customData?String(e.customData):void 0,t},toJSON(e){const t={};return void 0!==e.url&&(t.url=e.url),void 0!==e.anchor&&(t.anchor=e.anchor),void 0!==e.target&&(t.target=function(e){switch(e){case li.SELF:return"SELF";case li.BLANK:return"BLANK";case li.PARENT:return"PARENT";case li.TOP:return"TOP";default:return"UNKNOWN"}}(e.target)),void 0!==e.rel&&(t.rel=e.rel?fi.toJSON(e.rel):void 0),void 0!==e.customData&&(t.customData=e.customData),t}},gi={},fi={fromJSON(e){const t=Object.assign({},gi);return t.nofollow=void 0!==e.nofollow&&null!==e.nofollow?Boolean(e.nofollow):void 0,t.sponsored=void 0!==e.sponsored&&null!==e.sponsored?Boolean(e.sponsored):void 0,t.ugc=void 0!==e.ugc&&null!==e.ugc?Boolean(e.ugc):void 0,t.noreferrer=void 0!==e.noreferrer&&null!==e.noreferrer?Boolean(e.noreferrer):void 0,t},toJSON(e){const t={};return void 0!==e.nofollow&&(t.nofollow=e.nofollow),void 0!==e.sponsored&&(t.sponsored=e.sponsored),void 0!==e.ugc&&(t.ugc=e.ugc),void 0!==e.noreferrer&&(t.noreferrer=e.noreferrer),t}},vi={alignment:ui.CENTER},yi={fromJSON(e){const t=Object.assign({},vi);return t.width=void 0!==e.width&&null!==e.width?Ci.fromJSON(e.width):void 0,t.alignment=void 0!==e.alignment&&null!==e.alignment?function(e){switch(e){case 0:case"CENTER":return ui.CENTER;case 1:case"LEFT":return ui.LEFT;case 2:case"RIGHT":return ui.RIGHT;default:return ui.UNRECOGNIZED}}(e.alignment):ui.CENTER,t.spoiler=void 0!==e.spoiler&&null!==e.spoiler?Ei.fromJSON(e.spoiler):void 0,t.height=void 0!==e.height&&null!==e.height?wi.fromJSON(e.height):void 0,t.textWrap=void 0!==e.textWrap&&null!==e.textWrap?Boolean(e.textWrap):void 0,t},toJSON(e){const t={};return void 0!==e.width&&(t.width=e.width?Ci.toJSON(e.width):void 0),void 0!==e.alignment&&(t.alignment=function(e){switch(e){case ui.CENTER:return"CENTER";case ui.LEFT:return"LEFT";case ui.RIGHT:return"RIGHT";default:return"UNKNOWN"}}(e.alignment)),void 0!==e.spoiler&&(t.spoiler=e.spoiler?Ei.toJSON(e.spoiler):void 0),void 0!==e.height&&(t.height=e.height?wi.toJSON(e.height):void 0),void 0!==e.textWrap&&(t.textWrap=e.textWrap),t}},bi={},Ei={fromJSON(e){const t=Object.assign({},bi);return t.enabled=void 0!==e.enabled&&null!==e.enabled?Boolean(e.enabled):void 0,t.description=void 0!==e.description&&null!==e.description?String(e.description):void 0,t.buttonText=void 0!==e.buttonText&&null!==e.buttonText?String(e.buttonText):void 0,t},toJSON(e){const t={};return void 0!==e.enabled&&(t.enabled=e.enabled),void 0!==e.description&&(t.description=e.description),void 0!==e.buttonText&&(t.buttonText=e.buttonText),t}},Ai={},Ci={fromJSON(e){const t=Object.assign({},Ai);return t.size=void 0!==e.size&&null!==e.size?function(e){switch(e){case 0:case"CONTENT":return ci.CONTENT;case 1:case"SMALL":return ci.SMALL;case 2:case"ORIGINAL":return ci.ORIGINAL;case 3:case"FULL_WIDTH":return ci.FULL_WIDTH;default:return ci.UNRECOGNIZED}}(e.size):void 0,t.custom=void 0!==e.custom&&null!==e.custom?String(e.custom):void 0,t},toJSON(e){const t={};return void 0!==e.size&&(t.size=void 0!==e.size?function(e){switch(e){case ci.CONTENT:return"CONTENT";case ci.SMALL:return"SMALL";case ci.ORIGINAL:return"ORIGINAL";case ci.FULL_WIDTH:return"FULL_WIDTH";default:return"UNKNOWN"}}(e.size):void 0),void 0!==e.custom&&(t.custom=e.custom),t}},Si={},wi={fromJSON(e){const t=Object.assign({},Si);return t.custom=void 0!==e.custom&&null!==e.custom?String(e.custom):void 0,t},toJSON(e){const t={};return void 0!==e.custom&&(t.custom=e.custom),t}},Oi={},Ni={fromJSON(e){const t=Object.assign({},Oi);return t.url=void 0!==e.url&&null!==e.url?String(e.url):void 0,t.custom=void 0!==e.custom&&null!==e.custom?String(e.custom):void 0,t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t.private=void 0!==e.private&&null!==e.private?Boolean(e.private):void 0,t},toJSON(e){const t={};return void 0!==e.url&&(t.url=e.url),void 0!==e.custom&&(t.custom=e.custom),void 0!==e.id&&(t.id=e.id),void 0!==e.private&&(t.private=e.private),t}},Pi={},Li={fromJSON(e){const t=Object.assign({},Pi);return t.src=void 0!==e.src&&null!==e.src?Ni.fromJSON(e.src):void 0,t.width=void 0!==e.width&&null!==e.width?Number(e.width):void 0,t.height=void 0!==e.height&&null!==e.height?Number(e.height):void 0,t.duration=void 0!==e.duration&&null!==e.duration?Number(e.duration):void 0,t},toJSON(e){const t={};return void 0!==e.src&&(t.src=e.src?Ni.toJSON(e.src):void 0),void 0!==e.width&&(t.width=e.width),void 0!==e.height&&(t.height=e.height),void 0!==e.duration&&(t.duration=e.duration),t}},Ii={},Ti={fromJSON(e){const t=Object.assign({},Ii);return t.autoPlay=void 0!==e.autoPlay&&null!==e.autoPlay?Boolean(e.autoPlay):void 0,t.playInLoop=void 0!==e.playInLoop&&null!==e.playInLoop?Boolean(e.playInLoop):void 0,t.showControls=void 0!==e.showControls&&null!==e.showControls?Boolean(e.showControls):void 0,t},toJSON(e){const t={};return void 0!==e.autoPlay&&(t.autoPlay=e.autoPlay),void 0!==e.playInLoop&&(t.playInLoop=e.playInLoop),void 0!==e.showControls&&(t.showControls=e.showControls),t}},_i={},xi={fromJSON(e){const t=Object.assign({},_i);return t.type=void 0!==e.type&&null!==e.type?String(e.type):void 0,t.width=void 0!==e.width&&null!==e.width?Number(e.width):void 0,t.height=void 0!==e.height&&null!==e.height?Number(e.height):void 0,t.title=void 0!==e.title&&null!==e.title?String(e.title):void 0,t.url=void 0!==e.url&&null!==e.url?String(e.url):void 0,t.html=void 0!==e.html&&null!==e.html?String(e.html):void 0,t.authorName=void 0!==e.authorName&&null!==e.authorName?String(e.authorName):void 0,t.authorUrl=void 0!==e.authorUrl&&null!==e.authorUrl?String(e.authorUrl):void 0,t.providerName=void 0!==e.providerName&&null!==e.providerName?String(e.providerName):void 0,t.providerUrl=void 0!==e.providerUrl&&null!==e.providerUrl?String(e.providerUrl):void 0,t.thumbnailUrl=void 0!==e.thumbnailUrl&&null!==e.thumbnailUrl?String(e.thumbnailUrl):void 0,t.thumbnailWidth=void 0!==e.thumbnailWidth&&null!==e.thumbnailWidth?String(e.thumbnailWidth):void 0,t.thumbnailHeight=void 0!==e.thumbnailHeight&&null!==e.thumbnailHeight?String(e.thumbnailHeight):void 0,t.videoUrl=void 0!==e.videoUrl&&null!==e.videoUrl?String(e.videoUrl):void 0,t.version=void 0!==e.version&&null!==e.version?String(e.version):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=e.type),void 0!==e.width&&(t.width=e.width),void 0!==e.height&&(t.height=e.height),void 0!==e.title&&(t.title=e.title),void 0!==e.url&&(t.url=e.url),void 0!==e.html&&(t.html=e.html),void 0!==e.authorName&&(t.authorName=e.authorName),void 0!==e.authorUrl&&(t.authorUrl=e.authorUrl),void 0!==e.providerName&&(t.providerName=e.providerName),void 0!==e.providerUrl&&(t.providerUrl=e.providerUrl),void 0!==e.thumbnailUrl&&(t.thumbnailUrl=e.thumbnailUrl),void 0!==e.thumbnailWidth&&(t.thumbnailWidth=e.thumbnailWidth),void 0!==e.thumbnailHeight&&(t.thumbnailHeight=e.thumbnailHeight),void 0!==e.videoUrl&&(t.videoUrl=e.videoUrl),void 0!==e.version&&(t.version=e.version),t}};var Di;!function(e){e.LINK="LINK",e.ACTION="ACTION",e.UNRECOGNIZED="UNRECOGNIZED"}(Di||(Di={}));const ki={type:Di.LINK},Ri={fromJSON(e){const t=Object.assign({},ki);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"LINK":return Di.LINK;case 1:case"ACTION":return Di.ACTION;default:return Di.UNRECOGNIZED}}(e.type):Di.LINK,t.styles=void 0!==e.styles&&null!==e.styles?Bi.fromJSON(e.styles):void 0,t.text=void 0!==e.text&&null!==e.text?String(e.text):void 0,t.link=void 0!==e.link&&null!==e.link?hi.fromJSON(e.link):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.type&&(t.type=function(e){switch(e){case Di.LINK:return"LINK";case Di.ACTION:return"ACTION";default:return"UNKNOWN"}}(e.type)),void 0!==e.styles&&(t.styles=e.styles?Bi.toJSON(e.styles):void 0),void 0!==e.text&&(t.text=e.text),void 0!==e.link&&(t.link=e.link?hi.toJSON(e.link):void 0),t}},Mi={},Bi={fromJSON(e){const t=Object.assign({},Mi);return t.border=void 0!==e.border&&null!==e.border?Gi.fromJSON(e.border):void 0,t.colors=void 0!==e.colors&&null!==e.colors?Ui.fromJSON(e.colors):void 0,t},toJSON(e){const t={};return void 0!==e.border&&(t.border=e.border?Gi.toJSON(e.border):void 0),void 0!==e.colors&&(t.colors=e.colors?Ui.toJSON(e.colors):void 0),t}},Fi={},Ui={fromJSON(e){const t=Object.assign({},Fi);return t.text=void 0!==e.text&&null!==e.text?String(e.text):void 0,t.border=void 0!==e.border&&null!==e.border?String(e.border):void 0,t.background=void 0!==e.background&&null!==e.background?String(e.background):void 0,t},toJSON(e){const t={};return void 0!==e.text&&(t.text=e.text),void 0!==e.border&&(t.border=e.border),void 0!==e.background&&(t.background=e.background),t}},ji={},Gi={fromJSON(e){const t=Object.assign({},ji);return t.width=void 0!==e.width&&null!==e.width?Number(e.width):void 0,t.radius=void 0!==e.radius&&null!==e.radius?Number(e.radius):void 0,t},toJSON(e){const t={};return void 0!==e.width&&(t.width=e.width),void 0!==e.radius&&(t.radius=e.radius),t}},Wi={},Hi={fromJSON(e){const t=Object.assign({},Wi);return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?pi.fromJSON(e.textStyle):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?pi.toJSON(e.textStyle):void 0),t}};var zi,Vi,Ji;!function(e){e.SINGLE="SINGLE",e.DOUBLE="DOUBLE",e.DASHED="DASHED",e.DOTTED="DOTTED",e.UNRECOGNIZED="UNRECOGNIZED"}(zi||(zi={})),function(e){e.LARGE="LARGE",e.MEDIUM="MEDIUM",e.SMALL="SMALL",e.UNRECOGNIZED="UNRECOGNIZED"}(Vi||(Vi={})),function(e){e.CENTER="CENTER",e.LEFT="LEFT",e.RIGHT="RIGHT",e.UNRECOGNIZED="UNRECOGNIZED"}(Ji||(Ji={}));const Zi={lineStyle:zi.SINGLE,width:Vi.LARGE,alignment:Ji.CENTER},Ki={fromJSON(e){const t=Object.assign({},Zi);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.lineStyle=void 0!==e.lineStyle&&null!==e.lineStyle?function(e){switch(e){case 0:case"SINGLE":return zi.SINGLE;case 1:case"DOUBLE":return zi.DOUBLE;case 2:case"DASHED":return zi.DASHED;case 3:case"DOTTED":return zi.DOTTED;default:return zi.UNRECOGNIZED}}(e.lineStyle):zi.SINGLE,t.width=void 0!==e.width&&null!==e.width?function(e){switch(e){case 0:case"LARGE":return Vi.LARGE;case 1:case"MEDIUM":return Vi.MEDIUM;case 2:case"SMALL":return Vi.SMALL;default:return Vi.UNRECOGNIZED}}(e.width):Vi.LARGE,t.alignment=void 0!==e.alignment&&null!==e.alignment?function(e){switch(e){case 0:case"CENTER":return Ji.CENTER;case 1:case"LEFT":return Ji.LEFT;case 2:case"RIGHT":return Ji.RIGHT;default:return Ji.UNRECOGNIZED}}(e.alignment):Ji.CENTER,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.lineStyle&&(t.lineStyle=function(e){switch(e){case zi.SINGLE:return"SINGLE";case zi.DOUBLE:return"DOUBLE";case zi.DASHED:return"DASHED";case zi.DOTTED:return"DOTTED";default:return"UNKNOWN"}}(e.lineStyle)),void 0!==e.width&&(t.width=function(e){switch(e){case Vi.LARGE:return"LARGE";case Vi.MEDIUM:return"MEDIUM";case Vi.SMALL:return"SMALL";default:return"UNKNOWN"}}(e.width)),void 0!==e.alignment&&(t.alignment=function(e){switch(e){case Ji.CENTER:return"CENTER";case Ji.LEFT:return"LEFT";case Ji.RIGHT:return"RIGHT";default:return"UNKNOWN"}}(e.alignment)),t}};var $i;!function(e){e.NONE="NONE",e.FULL="FULL",e.MINI="MINI",e.UNRECOGNIZED="UNRECOGNIZED"}($i||($i={}));const qi={},Yi={fromJSON(e){const t=Object.assign({},qi);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.src=void 0!==e.src&&null!==e.src?Ni.fromJSON(e.src):void 0,t.name=void 0!==e.name&&null!==e.name?String(e.name):void 0,t.type=void 0!==e.type&&null!==e.type?String(e.type):void 0,t.size=void 0!==e.size&&null!==e.size?Number(e.size):void 0,t.pdfSettings=void 0!==e.pdfSettings&&null!==e.pdfSettings?Qi.fromJSON(e.pdfSettings):void 0,t.mimeType=void 0!==e.mimeType&&null!==e.mimeType?String(e.mimeType):void 0,t.path=void 0!==e.path&&null!==e.path?String(e.path):void 0,t.sizeInKb=void 0!==e.sizeInKb&&null!==e.sizeInKb?String(e.sizeInKb):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.src&&(t.src=e.src?Ni.toJSON(e.src):void 0),void 0!==e.name&&(t.name=e.name),void 0!==e.type&&(t.type=e.type),void 0!==e.size&&(t.size=e.size),void 0!==e.pdfSettings&&(t.pdfSettings=e.pdfSettings?Qi.toJSON(e.pdfSettings):void 0),void 0!==e.mimeType&&(t.mimeType=e.mimeType),void 0!==e.path&&(t.path=e.path),void 0!==e.sizeInKb&&(t.sizeInKb=e.sizeInKb),t}},Xi={viewMode:$i.NONE},Qi={fromJSON(e){const t=Object.assign({},Xi);return t.viewMode=void 0!==e.viewMode&&null!==e.viewMode?function(e){switch(e){case 0:case"NONE":return $i.NONE;case 1:case"FULL":return $i.FULL;case 2:case"MINI":return $i.MINI;default:return $i.UNRECOGNIZED}}(e.viewMode):$i.NONE,t.disableDownload=void 0!==e.disableDownload&&null!==e.disableDownload?Boolean(e.disableDownload):void 0,t.disablePrint=void 0!==e.disablePrint&&null!==e.disablePrint?Boolean(e.disablePrint):void 0,t},toJSON(e){const t={};return void 0!==e.viewMode&&(t.viewMode=function(e){switch(e){case $i.NONE:return"NONE";case $i.FULL:return"FULL";case $i.MINI:return"MINI";default:return"UNKNOWN"}}(e.viewMode)),void 0!==e.disableDownload&&(t.disableDownload=e.disableDownload),void 0!==e.disablePrint&&(t.disablePrint=e.disablePrint),t}};var ea,ta,na,oa;!function(e){e.COLLAGE="COLLAGE",e.MASONRY="MASONRY",e.GRID="GRID",e.THUMBNAIL="THUMBNAIL",e.SLIDER="SLIDER",e.SLIDESHOW="SLIDESHOW",e.PANORAMA="PANORAMA",e.COLUMN="COLUMN",e.MAGIC="MAGIC",e.FULLSIZE="FULLSIZE",e.UNRECOGNIZED="UNRECOGNIZED"}(ea||(ea={})),function(e){e.ROWS="ROWS",e.COLUMNS="COLUMNS",e.UNRECOGNIZED="UNRECOGNIZED"}(ta||(ta={})),function(e){e.FILL="FILL",e.FIT="FIT",e.UNRECOGNIZED="UNRECOGNIZED"}(na||(na={})),function(e){e.TOP="TOP",e.RIGHT="RIGHT",e.BOTTOM="BOTTOM",e.LEFT="LEFT",e.NONE="NONE",e.UNRECOGNIZED="UNRECOGNIZED"}(oa||(oa={}));const ra={},ia={fromJSON(e){const t=Object.assign({},ra);return t.layout=void 0!==e.layout&&null!==e.layout?sa.fromJSON(e.layout):void 0,t.item=void 0!==e.item&&null!==e.item?ua.fromJSON(e.item):void 0,t.thumbnails=void 0!==e.thumbnails&&null!==e.thumbnails?da.fromJSON(e.thumbnails):void 0,t},toJSON(e){const t={};return void 0!==e.layout&&(t.layout=e.layout?sa.toJSON(e.layout):void 0),void 0!==e.item&&(t.item=e.item?ua.toJSON(e.item):void 0),void 0!==e.thumbnails&&(t.thumbnails=e.thumbnails?da.toJSON(e.thumbnails):void 0),t}},aa={type:ea.COLLAGE,orientation:ta.ROWS},sa={fromJSON(e){const t=Object.assign({},aa);return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"COLLAGE":return ea.COLLAGE;case 1:case"MASONRY":return ea.MASONRY;case 2:case"GRID":return ea.GRID;case 3:case"THUMBNAIL":return ea.THUMBNAIL;case 4:case"SLIDER":return ea.SLIDER;case 5:case"SLIDESHOW":return ea.SLIDESHOW;case 6:case"PANORAMA":return ea.PANORAMA;case 7:case"COLUMN":return ea.COLUMN;case 8:case"MAGIC":return ea.MAGIC;case 9:case"FULLSIZE":return ea.FULLSIZE;default:return ea.UNRECOGNIZED}}(e.type):ea.COLLAGE,t.horizontalScroll=void 0!==e.horizontalScroll&&null!==e.horizontalScroll?Boolean(e.horizontalScroll):void 0,t.orientation=void 0!==e.orientation&&null!==e.orientation?function(e){switch(e){case 0:case"ROWS":return ta.ROWS;case 1:case"COLUMNS":return ta.COLUMNS;default:return ta.UNRECOGNIZED}}(e.orientation):ta.ROWS,t.numberOfColumns=void 0!==e.numberOfColumns&&null!==e.numberOfColumns?Number(e.numberOfColumns):void 0,t.mobileNumberOfColumns=void 0!==e.mobileNumberOfColumns&&null!==e.mobileNumberOfColumns?Number(e.mobileNumberOfColumns):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case ea.COLLAGE:return"COLLAGE";case ea.MASONRY:return"MASONRY";case ea.GRID:return"GRID";case ea.THUMBNAIL:return"THUMBNAIL";case ea.SLIDER:return"SLIDER";case ea.SLIDESHOW:return"SLIDESHOW";case ea.PANORAMA:return"PANORAMA";case ea.COLUMN:return"COLUMN";case ea.MAGIC:return"MAGIC";case ea.FULLSIZE:return"FULLSIZE";default:return"UNKNOWN"}}(e.type)),void 0!==e.horizontalScroll&&(t.horizontalScroll=e.horizontalScroll),void 0!==e.orientation&&(t.orientation=function(e){switch(e){case ta.ROWS:return"ROWS";case ta.COLUMNS:return"COLUMNS";default:return"UNKNOWN"}}(e.orientation)),void 0!==e.numberOfColumns&&(t.numberOfColumns=e.numberOfColumns),void 0!==e.mobileNumberOfColumns&&(t.mobileNumberOfColumns=e.mobileNumberOfColumns),t}},la={crop:na.FILL},ua={fromJSON(e){const t=Object.assign({},la);return t.targetSize=void 0!==e.targetSize&&null!==e.targetSize?Number(e.targetSize):void 0,t.ratio=void 0!==e.ratio&&null!==e.ratio?Number(e.ratio):void 0,t.crop=void 0!==e.crop&&null!==e.crop?function(e){switch(e){case 0:case"FILL":return na.FILL;case 1:case"FIT":return na.FIT;default:return na.UNRECOGNIZED}}(e.crop):na.FILL,t.spacing=void 0!==e.spacing&&null!==e.spacing?Number(e.spacing):void 0,t},toJSON(e){const t={};return void 0!==e.targetSize&&(t.targetSize=e.targetSize),void 0!==e.ratio&&(t.ratio=e.ratio),void 0!==e.crop&&(t.crop=function(e){switch(e){case na.FILL:return"FILL";case na.FIT:return"FIT";default:return"UNKNOWN"}}(e.crop)),void 0!==e.spacing&&(t.spacing=e.spacing),t}},ca={placement:oa.TOP},da={fromJSON(e){const t=Object.assign({},ca);return t.placement=void 0!==e.placement&&null!==e.placement?function(e){switch(e){case 0:case"TOP":return oa.TOP;case 1:case"RIGHT":return oa.RIGHT;case 2:case"BOTTOM":return oa.BOTTOM;case 3:case"LEFT":return oa.LEFT;case 4:case"NONE":return oa.NONE;default:return oa.UNRECOGNIZED}}(e.placement):oa.TOP,t.spacing=void 0!==e.spacing&&null!==e.spacing?Number(e.spacing):void 0,t},toJSON(e){const t={};return void 0!==e.placement&&(t.placement=function(e){switch(e){case oa.TOP:return"TOP";case oa.RIGHT:return"RIGHT";case oa.BOTTOM:return"BOTTOM";case oa.LEFT:return"LEFT";case oa.NONE:return"NONE";default:return"UNKNOWN"}}(e.placement)),void 0!==e.spacing&&(t.spacing=e.spacing),t}},pa={},ma={fromJSON(e){var t;const n=Object.assign({},pa);return n.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,n.items=(null!==(t=e.items)&&void 0!==t?t:[]).map((e=>ga.fromJSON(e))),n.options=void 0!==e.options&&null!==e.options?ia.fromJSON(e.options):void 0,n.disableExpand=void 0!==e.disableExpand&&null!==e.disableExpand?Boolean(e.disableExpand):void 0,n.disableDownload=void 0!==e.disableDownload&&null!==e.disableDownload?Boolean(e.disableDownload):void 0,n},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),e.items?t.items=e.items.map((e=>e?ga.toJSON(e):void 0)):t.items=[],void 0!==e.options&&(t.options=e.options?ia.toJSON(e.options):void 0),void 0!==e.disableExpand&&(t.disableExpand=e.disableExpand),void 0!==e.disableDownload&&(t.disableDownload=e.disableDownload),t}},ha={},ga={fromJSON(e){const t=Object.assign({},ha);return t.image=void 0!==e.image&&null!==e.image?ba.fromJSON(e.image):void 0,t.video=void 0!==e.video&&null!==e.video?va.fromJSON(e.video):void 0,t.title=void 0!==e.title&&null!==e.title?String(e.title):void 0,t.altText=void 0!==e.altText&&null!==e.altText?String(e.altText):void 0,t},toJSON(e){const t={};return void 0!==e.image&&(t.image=e.image?ba.toJSON(e.image):void 0),void 0!==e.video&&(t.video=e.video?va.toJSON(e.video):void 0),void 0!==e.title&&(t.title=e.title),void 0!==e.altText&&(t.altText=e.altText),t}},fa={},va={fromJSON(e){const t=Object.assign({},fa);return t.media=void 0!==e.media&&null!==e.media?Li.fromJSON(e.media):void 0,t.thumbnail=void 0!==e.thumbnail&&null!==e.thumbnail?Li.fromJSON(e.thumbnail):void 0,t},toJSON(e){const t={};return void 0!==e.media&&(t.media=e.media?Li.toJSON(e.media):void 0),void 0!==e.thumbnail&&(t.thumbnail=e.thumbnail?Li.toJSON(e.thumbnail):void 0),t}},ya={},ba={fromJSON(e){const t=Object.assign({},ya);return t.media=void 0!==e.media&&null!==e.media?Li.fromJSON(e.media):void 0,t.link=void 0!==e.link&&null!==e.link?hi.fromJSON(e.link):void 0,t},toJSON(e){const t={};return void 0!==e.media&&(t.media=e.media?Li.toJSON(e.media):void 0),void 0!==e.link&&(t.link=e.link?hi.toJSON(e.link):void 0),t}},Ea={height:0,width:0},Aa={fromJSON(e){const t=Object.assign({},Ea);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.original=void 0!==e.original&&null!==e.original?Sa.fromJSON(e.original):void 0,t.downsized=void 0!==e.downsized&&null!==e.downsized?Sa.fromJSON(e.downsized):void 0,t.height=void 0!==e.height&&null!==e.height?Number(e.height):0,t.width=void 0!==e.width&&null!==e.width?Number(e.width):0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.original&&(t.original=e.original?Sa.toJSON(e.original):void 0),void 0!==e.downsized&&(t.downsized=e.downsized?Sa.toJSON(e.downsized):void 0),void 0!==e.height&&(t.height=Math.round(e.height)),void 0!==e.width&&(t.width=Math.round(e.width)),t}},Ca={},Sa={fromJSON(e){const t=Object.assign({},Ca);return t.gif=void 0!==e.gif&&null!==e.gif?String(e.gif):void 0,t.mp4=void 0!==e.mp4&&null!==e.mp4?String(e.mp4):void 0,t.still=void 0!==e.still&&null!==e.still?String(e.still):void 0,t},toJSON(e){const t={};return void 0!==e.gif&&(t.gif=e.gif),void 0!==e.mp4&&(t.mp4=e.mp4),void 0!==e.still&&(t.still=e.still),t}},wa={level:0},Oa={fromJSON(e){const t=Object.assign({},wa);return t.level=void 0!==e.level&&null!==e.level?Number(e.level):0,t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?pi.fromJSON(e.textStyle):void 0,t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):void 0,t},toJSON(e){const t={};return void 0!==e.level&&(t.level=Math.round(e.level)),void 0!==e.textStyle&&(t.textStyle=e.textStyle?pi.toJSON(e.textStyle):void 0),void 0!==e.indentation&&(t.indentation=e.indentation),t}};var Na;!function(e){e.HTML="HTML",e.ADSENSE="ADSENSE",e.UNRECOGNIZED="UNRECOGNIZED"}(Na||(Na={}));const Pa={source:Na.HTML},La={fromJSON(e){const t=Object.assign({},Pa);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.url=void 0!==e.url&&null!==e.url?String(e.url):void 0,t.html=void 0!==e.html&&null!==e.html?String(e.html):void 0,t.isAdsense=void 0!==e.isAdsense&&null!==e.isAdsense?Boolean(e.isAdsense):void 0,t.source=void 0!==e.source&&null!==e.source?function(e){switch(e){case 0:case"HTML":return Na.HTML;case 1:case"ADSENSE":return Na.ADSENSE;default:return Na.UNRECOGNIZED}}(e.source):Na.HTML,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.url&&(t.url=e.url),void 0!==e.html&&(t.html=e.html),void 0!==e.isAdsense&&(t.isAdsense=e.isAdsense),void 0!==e.source&&(t.source=function(e){switch(e){case Na.HTML:return"HTML";case Na.ADSENSE:return"ADSENSE";default:return"UNKNOWN"}}(e.source)),t}},Ia={},Ta={fromJSON(e){const t=Object.assign({},Ia);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.image=void 0!==e.image&&null!==e.image?Li.fromJSON(e.image):void 0,t.link=void 0!==e.link&&null!==e.link?hi.fromJSON(e.link):void 0,t.disableExpand=void 0!==e.disableExpand&&null!==e.disableExpand?Boolean(e.disableExpand):void 0,t.altText=void 0!==e.altText&&null!==e.altText?String(e.altText):void 0,t.caption=void 0!==e.caption&&null!==e.caption?String(e.caption):void 0,t.disableDownload=void 0!==e.disableDownload&&null!==e.disableDownload?Boolean(e.disableDownload):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.image&&(t.image=e.image?Li.toJSON(e.image):void 0),void 0!==e.link&&(t.link=e.link?hi.toJSON(e.link):void 0),void 0!==e.disableExpand&&(t.disableExpand=e.disableExpand),void 0!==e.altText&&(t.altText=e.altText),void 0!==e.caption&&(t.caption=e.caption),void 0!==e.disableDownload&&(t.disableDownload=e.disableDownload),t}},_a={},xa={fromJSON(e){const t=Object.assign({},_a);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.link=void 0!==e.link&&null!==e.link?hi.fromJSON(e.link):void 0,t.title=void 0!==e.title&&null!==e.title?String(e.title):void 0,t.thumbnailUrl=void 0!==e.thumbnailUrl&&null!==e.thumbnailUrl?String(e.thumbnailUrl):void 0,t.description=void 0!==e.description&&null!==e.description?String(e.description):void 0,t.html=void 0!==e.html&&null!==e.html?String(e.html):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.link&&(t.link=e.link?hi.toJSON(e.link):void 0),void 0!==e.title&&(t.title=e.title),void 0!==e.thumbnailUrl&&(t.thumbnailUrl=e.thumbnailUrl),void 0!==e.description&&(t.description=e.description),void 0!==e.html&&(t.html=e.html),t}};var Da;!function(e){e.ROADMAP="ROADMAP",e.SATELITE="SATELITE",e.HYBRID="HYBRID",e.TERRAIN="TERRAIN",e.UNRECOGNIZED="UNRECOGNIZED"}(Da||(Da={}));const ka={},Ra={fromJSON(e){const t=Object.assign({},ka);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.mapSettings=void 0!==e.mapSettings&&null!==e.mapSettings?Ba.fromJSON(e.mapSettings):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.mapSettings&&(t.mapSettings=e.mapSettings?Ba.toJSON(e.mapSettings):void 0),t}},Ma={mapType:Da.ROADMAP},Ba={fromJSON(e){const t=Object.assign({},Ma);return t.address=void 0!==e.address&&null!==e.address?String(e.address):void 0,t.draggable=void 0!==e.draggable&&null!==e.draggable?Boolean(e.draggable):void 0,t.marker=void 0!==e.marker&&null!==e.marker?Boolean(e.marker):void 0,t.streetViewControl=void 0!==e.streetViewControl&&null!==e.streetViewControl?Boolean(e.streetViewControl):void 0,t.zoomControl=void 0!==e.zoomControl&&null!==e.zoomControl?Boolean(e.zoomControl):void 0,t.lat=void 0!==e.lat&&null!==e.lat?Number(e.lat):void 0,t.lng=void 0!==e.lng&&null!==e.lng?Number(e.lng):void 0,t.locationName=void 0!==e.locationName&&null!==e.locationName?String(e.locationName):void 0,t.viewModeControl=void 0!==e.viewModeControl&&null!==e.viewModeControl?Boolean(e.viewModeControl):void 0,t.initialZoom=void 0!==e.initialZoom&&null!==e.initialZoom?Number(e.initialZoom):void 0,t.mapType=void 0!==e.mapType&&null!==e.mapType?function(e){switch(e){case 0:case"ROADMAP":return Da.ROADMAP;case 1:case"SATELITE":return Da.SATELITE;case 2:case"HYBRID":return Da.HYBRID;case 3:case"TERRAIN":return Da.TERRAIN;default:return Da.UNRECOGNIZED}}(e.mapType):Da.ROADMAP,t},toJSON(e){const t={};return void 0!==e.address&&(t.address=e.address),void 0!==e.draggable&&(t.draggable=e.draggable),void 0!==e.marker&&(t.marker=e.marker),void 0!==e.streetViewControl&&(t.streetViewControl=e.streetViewControl),void 0!==e.zoomControl&&(t.zoomControl=e.zoomControl),void 0!==e.lat&&(t.lat=e.lat),void 0!==e.lng&&(t.lng=e.lng),void 0!==e.locationName&&(t.locationName=e.locationName),void 0!==e.viewModeControl&&(t.viewModeControl=e.viewModeControl),void 0!==e.initialZoom&&(t.initialZoom=e.initialZoom),void 0!==e.mapType&&(t.mapType=function(e){switch(e){case Da.ROADMAP:return"ROADMAP";case Da.SATELITE:return"SATELITE";case Da.HYBRID:return"HYBRID";case Da.TERRAIN:return"TERRAIN";default:return"UNKNOWN"}}(e.mapType)),t}},Fa={},Ua={fromJSON(e){const t=Object.assign({},Fa);return t.textStyle=void 0!==e.textStyle&&null!==e.textStyle?pi.fromJSON(e.textStyle):void 0,t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):void 0,t.level=void 0!==e.level&&null!==e.level?Number(e.level):void 0,t},toJSON(e){const t={};return void 0!==e.textStyle&&(t.textStyle=e.textStyle?pi.toJSON(e.textStyle):void 0),void 0!==e.indentation&&(t.indentation=e.indentation),void 0!==e.level&&(t.level=e.level),t}};var ja,Ga,Wa,Ha,za;!function(e){e.CREATOR="CREATOR",e.VOTERS="VOTERS",e.EVERYONE="EVERYONE",e.UNRECOGNIZED="UNRECOGNIZED"}(ja||(ja={})),function(e){e.SITE_MEMBERS="SITE_MEMBERS",e.ALL="ALL",e.UNRECOGNIZED="UNRECOGNIZED"}(Ga||(Ga={})),function(e){e.LIST="LIST",e.GRID="GRID",e.UNRECOGNIZED="UNRECOGNIZED"}(Wa||(Wa={})),function(e){e.LTR="LTR",e.RTL="RTL",e.UNRECOGNIZED="UNRECOGNIZED"}(Ha||(Ha={})),function(e){e.COLOR="COLOR",e.IMAGE="IMAGE",e.GRADIENT="GRADIENT",e.UNRECOGNIZED="UNRECOGNIZED"}(za||(za={}));const Va={},Ja={fromJSON(e){const t=Object.assign({},Va);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.poll=void 0!==e.poll&&null!==e.poll?Ka.fromJSON(e.poll):void 0,t.layout=void 0!==e.layout&&null!==e.layout?ns.fromJSON(e.layout):void 0,t.design=void 0!==e.design&&null!==e.design?ls.fromJSON(e.design):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.poll&&(t.poll=e.poll?Ka.toJSON(e.poll):void 0),void 0!==e.layout&&(t.layout=e.layout?ns.toJSON(e.layout):void 0),void 0!==e.design&&(t.design=e.design?ls.toJSON(e.design):void 0),t}},Za={},Ka={fromJSON(e){var t;const n=Object.assign({},Za);return n.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,n.title=void 0!==e.title&&null!==e.title?String(e.title):void 0,n.creatorId=void 0!==e.creatorId&&null!==e.creatorId?String(e.creatorId):void 0,n.image=void 0!==e.image&&null!==e.image?Li.fromJSON(e.image):void 0,n.options=(null!==(t=e.options)&&void 0!==t?t:[]).map((e=>qa.fromJSON(e))),n.settings=void 0!==e.settings&&null!==e.settings?Xa.fromJSON(e.settings):void 0,n},toJSON(e){const t={};return void 0!==e.id&&(t.id=e.id),void 0!==e.title&&(t.title=e.title),void 0!==e.creatorId&&(t.creatorId=e.creatorId),void 0!==e.image&&(t.image=e.image?Li.toJSON(e.image):void 0),e.options?t.options=e.options.map((e=>e?qa.toJSON(e):void 0)):t.options=[],void 0!==e.settings&&(t.settings=e.settings?Xa.toJSON(e.settings):void 0),t}},$a={},qa={fromJSON(e){const t=Object.assign({},$a);return t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t.title=void 0!==e.title&&null!==e.title?String(e.title):void 0,t.image=void 0!==e.image&&null!==e.image?Li.fromJSON(e.image):void 0,t},toJSON(e){const t={};return void 0!==e.id&&(t.id=e.id),void 0!==e.title&&(t.title=e.title),void 0!==e.image&&(t.image=e.image?Li.toJSON(e.image):void 0),t}},Ya={},Xa={fromJSON(e){const t=Object.assign({},Ya);return t.permissions=void 0!==e.permissions&&null!==e.permissions?es.fromJSON(e.permissions):void 0,t.showVoters=void 0!==e.showVoters&&null!==e.showVoters?Boolean(e.showVoters):void 0,t.showVotesCount=void 0!==e.showVotesCount&&null!==e.showVotesCount?Boolean(e.showVotesCount):void 0,t},toJSON(e){const t={};return void 0!==e.permissions&&(t.permissions=e.permissions?es.toJSON(e.permissions):void 0),void 0!==e.showVoters&&(t.showVoters=e.showVoters),void 0!==e.showVotesCount&&(t.showVotesCount=e.showVotesCount),t}},Qa={view:ja.CREATOR,vote:Ga.SITE_MEMBERS},es={fromJSON(e){const t=Object.assign({},Qa);return t.view=void 0!==e.view&&null!==e.view?function(e){switch(e){case 0:case"CREATOR":return ja.CREATOR;case 1:case"VOTERS":return ja.VOTERS;case 2:case"EVERYONE":return ja.EVERYONE;default:return ja.UNRECOGNIZED}}(e.view):ja.CREATOR,t.vote=void 0!==e.vote&&null!==e.vote?function(e){switch(e){case 0:case"SITE_MEMBERS":return Ga.SITE_MEMBERS;case 1:case"ALL":return Ga.ALL;default:return Ga.UNRECOGNIZED}}(e.vote):Ga.SITE_MEMBERS,t.allowMultipleVotes=void 0!==e.allowMultipleVotes&&null!==e.allowMultipleVotes?Boolean(e.allowMultipleVotes):void 0,t},toJSON(e){const t={};return void 0!==e.view&&(t.view=function(e){switch(e){case ja.CREATOR:return"CREATOR";case ja.VOTERS:return"VOTERS";case ja.EVERYONE:return"EVERYONE";default:return"UNKNOWN"}}(e.view)),void 0!==e.vote&&(t.vote=function(e){switch(e){case Ga.SITE_MEMBERS:return"SITE_MEMBERS";case Ga.ALL:return"ALL";default:return"UNKNOWN"}}(e.vote)),void 0!==e.allowMultipleVotes&&(t.allowMultipleVotes=e.allowMultipleVotes),t}},ts={},ns={fromJSON(e){const t=Object.assign({},ts);return t.poll=void 0!==e.poll&&null!==e.poll?rs.fromJSON(e.poll):void 0,t.options=void 0!==e.options&&null!==e.options?as.fromJSON(e.options):void 0,t},toJSON(e){const t={};return void 0!==e.poll&&(t.poll=e.poll?rs.toJSON(e.poll):void 0),void 0!==e.options&&(t.options=e.options?as.toJSON(e.options):void 0),t}},os={type:Wa.LIST,direction:Ha.LTR},rs={fromJSON(e){const t=Object.assign({},os);return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"LIST":return Wa.LIST;case 1:case"GRID":return Wa.GRID;default:return Wa.UNRECOGNIZED}}(e.type):Wa.LIST,t.direction=void 0!==e.direction&&null!==e.direction?function(e){switch(e){case 0:case"LTR":return Ha.LTR;case 1:case"RTL":return Ha.RTL;default:return Ha.UNRECOGNIZED}}(e.direction):Ha.LTR,t.enableImage=void 0!==e.enableImage&&null!==e.enableImage?Boolean(e.enableImage):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case Wa.LIST:return"LIST";case Wa.GRID:return"GRID";default:return"UNKNOWN"}}(e.type)),void 0!==e.direction&&(t.direction=function(e){switch(e){case Ha.LTR:return"LTR";case Ha.RTL:return"RTL";default:return"UNKNOWN"}}(e.direction)),void 0!==e.enableImage&&(t.enableImage=e.enableImage),t}},is={},as={fromJSON(e){const t=Object.assign({},is);return t.enableImage=void 0!==e.enableImage&&null!==e.enableImage?Boolean(e.enableImage):void 0,t},toJSON(e){const t={};return void 0!==e.enableImage&&(t.enableImage=e.enableImage),t}},ss={},ls={fromJSON(e){const t=Object.assign({},ss);return t.poll=void 0!==e.poll&&null!==e.poll?cs.fromJSON(e.poll):void 0,t.options=void 0!==e.options&&null!==e.options?fs.fromJSON(e.options):void 0,t},toJSON(e){const t={};return void 0!==e.poll&&(t.poll=e.poll?cs.toJSON(e.poll):void 0),void 0!==e.options&&(t.options=e.options?fs.toJSON(e.options):void 0),t}},us={},cs={fromJSON(e){const t=Object.assign({},us);return t.background=void 0!==e.background&&null!==e.background?ps.fromJSON(e.background):void 0,t.borderRadius=void 0!==e.borderRadius&&null!==e.borderRadius?Number(e.borderRadius):void 0,t},toJSON(e){const t={};return void 0!==e.background&&(t.background=e.background?ps.toJSON(e.background):void 0),void 0!==e.borderRadius&&(t.borderRadius=e.borderRadius),t}},ds={type:za.COLOR},ps={fromJSON(e){const t=Object.assign({},ds);return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"COLOR":return za.COLOR;case 1:case"IMAGE":return za.IMAGE;case 2:case"GRADIENT":return za.GRADIENT;default:return za.UNRECOGNIZED}}(e.type):za.COLOR,t.color=void 0!==e.color&&null!==e.color?String(e.color):void 0,t.image=void 0!==e.image&&null!==e.image?Li.fromJSON(e.image):void 0,t.gradient=void 0!==e.gradient&&null!==e.gradient?hs.fromJSON(e.gradient):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case za.COLOR:return"COLOR";case za.IMAGE:return"IMAGE";case za.GRADIENT:return"GRADIENT";default:return"UNKNOWN"}}(e.type)),void 0!==e.color&&(t.color=e.color),void 0!==e.image&&(t.image=e.image?Li.toJSON(e.image):void 0),void 0!==e.gradient&&(t.gradient=e.gradient?hs.toJSON(e.gradient):void 0),t}},ms={},hs={fromJSON(e){const t=Object.assign({},ms);return t.angle=void 0!==e.angle&&null!==e.angle?Number(e.angle):void 0,t.startColor=void 0!==e.startColor&&null!==e.startColor?String(e.startColor):void 0,t.lastColor=void 0!==e.lastColor&&null!==e.lastColor?String(e.lastColor):void 0,t},toJSON(e){const t={};return void 0!==e.angle&&(t.angle=e.angle),void 0!==e.startColor&&(t.startColor=e.startColor),void 0!==e.lastColor&&(t.lastColor=e.lastColor),t}},gs={},fs={fromJSON(e){const t=Object.assign({},gs);return t.borderRadius=void 0!==e.borderRadius&&null!==e.borderRadius?Number(e.borderRadius):void 0,t},toJSON(e){const t={};return void 0!==e.borderRadius&&(t.borderRadius=e.borderRadius),t}};var vs;!function(e){e.PRODUCT="PRODUCT",e.EVENT="EVENT",e.BOOKING="BOOKING",e.UNRECOGNIZED="UNRECOGNIZED"}(vs||(vs={}));const ys={type:vs.PRODUCT},bs={fromJSON(e){const t=Object.assign({},ys);return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"PRODUCT":return vs.PRODUCT;case 1:case"EVENT":return vs.EVENT;case 2:case"BOOKING":return vs.BOOKING;default:return vs.UNRECOGNIZED}}(e.type):vs.PRODUCT,t.itemId=void 0!==e.itemId&&null!==e.itemId?String(e.itemId):void 0,t.name=void 0!==e.name&&null!==e.name?String(e.name):void 0,t.imageSrc=void 0!==e.imageSrc&&null!==e.imageSrc?String(e.imageSrc):void 0,t.url=void 0!==e.url&&null!==e.url?String(e.url):void 0,t.image=void 0!==e.image&&null!==e.image?Li.fromJSON(e.image):void 0,t.bookingData=void 0!==e.bookingData&&null!==e.bookingData?As.fromJSON(e.bookingData):void 0,t.eventData=void 0!==e.eventData&&null!==e.eventData?Ss.fromJSON(e.eventData):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case vs.PRODUCT:return"PRODUCT";case vs.EVENT:return"EVENT";case vs.BOOKING:return"BOOKING";default:return"UNKNOWN"}}(e.type)),void 0!==e.itemId&&(t.itemId=e.itemId),void 0!==e.name&&(t.name=e.name),void 0!==e.imageSrc&&(t.imageSrc=e.imageSrc),void 0!==e.url&&(t.url=e.url),void 0!==e.image&&(t.image=e.image?Li.toJSON(e.image):void 0),void 0!==e.bookingData&&(t.bookingData=e.bookingData?As.toJSON(e.bookingData):void 0),void 0!==e.eventData&&(t.eventData=e.eventData?Ss.toJSON(e.eventData):void 0),t}},Es={},As={fromJSON(e){const t=Object.assign({},Es);return t.durations=void 0!==e.durations&&null!==e.durations?String(e.durations):void 0,t},toJSON(e){const t={};return void 0!==e.durations&&(t.durations=e.durations),t}},Cs={},Ss={fromJSON(e){const t=Object.assign({},Cs);return t.scheduling=void 0!==e.scheduling&&null!==e.scheduling?String(e.scheduling):void 0,t.location=void 0!==e.location&&null!==e.location?String(e.location):void 0,t},toJSON(e){const t={};return void 0!==e.scheduling&&(t.scheduling=e.scheduling),void 0!==e.location&&(t.location=e.location),t}},ws={},Os={fromJSON(e){const t=Object.assign({},ws);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.video=void 0!==e.video&&null!==e.video?Li.fromJSON(e.video):void 0,t.thumbnail=void 0!==e.thumbnail&&null!==e.thumbnail?Li.fromJSON(e.thumbnail):void 0,t.disableDownload=void 0!==e.disableDownload&&null!==e.disableDownload?Boolean(e.disableDownload):void 0,t.title=void 0!==e.title&&null!==e.title?String(e.title):void 0,t.options=void 0!==e.options&&null!==e.options?Ti.fromJSON(e.options):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.video&&(t.video=e.video?Li.toJSON(e.video):void 0),void 0!==e.thumbnail&&(t.thumbnail=e.thumbnail?Li.toJSON(e.thumbnail):void 0),void 0!==e.disableDownload&&(t.disableDownload=e.disableDownload),void 0!==e.title&&(t.title=e.title),void 0!==e.options&&(t.options=e.options?Ti.toJSON(e.options):void 0),t}},Ns={},Ps={fromJSON(e){const t=Object.assign({},Ns);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.oembed=void 0!==e.oembed&&null!==e.oembed?xi.fromJSON(e.oembed):void 0,t.src=void 0!==e.src&&null!==e.src?String(e.src):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.oembed&&(t.oembed=e.oembed?xi.toJSON(e.oembed):void 0),void 0!==e.src&&(t.src=e.src),t}};var Ls,Is;!function(e){e.FIRST="FIRST",e.ALL="ALL",e.NONE="NONE",e.UNRECOGNIZED="UNRECOGNIZED"}(Ls||(Ls={})),function(e){e.LTR="LTR",e.RTL="RTL",e.UNRECOGNIZED="UNRECOGNIZED"}(Is||(Is={}));const Ts={initialExpandedItems:Ls.FIRST,direction:Is.LTR},_s={fromJSON(e){const t=Object.assign({},Ts);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.expandOnlyOne=void 0!==e.expandOnlyOne&&null!==e.expandOnlyOne?Boolean(e.expandOnlyOne):void 0,t.initialExpandedItems=void 0!==e.initialExpandedItems&&null!==e.initialExpandedItems?function(e){switch(e){case 0:case"FIRST":return Ls.FIRST;case 1:case"ALL":return Ls.ALL;case 2:case"NONE":return Ls.NONE;default:return Ls.UNRECOGNIZED}}(e.initialExpandedItems):Ls.FIRST,t.direction=void 0!==e.direction&&null!==e.direction?function(e){switch(e){case 0:case"LTR":return Is.LTR;case 1:case"RTL":return Is.RTL;default:return Is.UNRECOGNIZED}}(e.direction):Is.LTR,t.isQapageData=void 0!==e.isQapageData&&null!==e.isQapageData?Boolean(e.isQapageData):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.expandOnlyOne&&(t.expandOnlyOne=e.expandOnlyOne),void 0!==e.initialExpandedItems&&(t.initialExpandedItems=function(e){switch(e){case Ls.FIRST:return"FIRST";case Ls.ALL:return"ALL";case Ls.NONE:return"NONE";default:return"UNKNOWN"}}(e.initialExpandedItems)),void 0!==e.direction&&(t.direction=function(e){switch(e){case Is.LTR:return"LTR";case Is.RTL:return"RTL";default:return"UNKNOWN"}}(e.direction)),void 0!==e.isQapageData&&(t.isQapageData=e.isQapageData),t}},xs={},Ds={fromJSON(e){const t=Object.assign({},xs);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.dimensions=void 0!==e.dimensions&&null!==e.dimensions?Rs.fromJSON(e.dimensions):void 0,t.header=void 0!==e.header&&null!==e.header?Boolean(e.header):void 0,t.rowHeader=void 0!==e.rowHeader&&null!==e.rowHeader?Boolean(e.rowHeader):void 0,t.columnHeader=void 0!==e.columnHeader&&null!==e.columnHeader?Boolean(e.columnHeader):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.dimensions&&(t.dimensions=e.dimensions?Rs.toJSON(e.dimensions):void 0),void 0!==e.header&&(t.header=e.header),void 0!==e.rowHeader&&(t.rowHeader=e.rowHeader),void 0!==e.columnHeader&&(t.columnHeader=e.columnHeader),t}},ks={colsWidthRatio:0,rowsHeight:0,colsMinWidth:0},Rs={fromJSON(e){var t,n,o;const r=Object.assign({},ks);return r.colsWidthRatio=(null!==(t=e.colsWidthRatio)&&void 0!==t?t:[]).map((e=>Number(e))),r.rowsHeight=(null!==(n=e.rowsHeight)&&void 0!==n?n:[]).map((e=>Number(e))),r.colsMinWidth=(null!==(o=e.colsMinWidth)&&void 0!==o?o:[]).map((e=>Number(e))),r},toJSON(e){const t={};return e.colsWidthRatio?t.colsWidthRatio=e.colsWidthRatio.map((e=>Math.round(e))):t.colsWidthRatio=[],e.rowsHeight?t.rowsHeight=e.rowsHeight.map((e=>Math.round(e))):t.rowsHeight=[],e.colsMinWidth?t.colsMinWidth=e.colsMinWidth.map((e=>Math.round(e))):t.colsMinWidth=[],t}};var Ms;!function(e){e.TOP="TOP",e.MIDDLE="MIDDLE",e.BOTTOM="BOTTOM",e.UNRECOGNIZED="UNRECOGNIZED"}(Ms||(Ms={}));const Bs={},Fs={fromJSON(e){const t=Object.assign({},Bs);return t.cellStyle=void 0!==e.cellStyle&&null!==e.cellStyle?js.fromJSON(e.cellStyle):void 0,t.borderColors=void 0!==e.borderColors&&null!==e.borderColors?Ws.fromJSON(e.borderColors):void 0,t},toJSON(e){const t={};return void 0!==e.cellStyle&&(t.cellStyle=e.cellStyle?js.toJSON(e.cellStyle):void 0),void 0!==e.borderColors&&(t.borderColors=e.borderColors?Ws.toJSON(e.borderColors):void 0),t}},Us={verticalAlignment:Ms.TOP},js={fromJSON(e){const t=Object.assign({},Us);return t.verticalAlignment=void 0!==e.verticalAlignment&&null!==e.verticalAlignment?function(e){switch(e){case 0:case"TOP":return Ms.TOP;case 1:case"MIDDLE":return Ms.MIDDLE;case 2:case"BOTTOM":return Ms.BOTTOM;default:return Ms.UNRECOGNIZED}}(e.verticalAlignment):Ms.TOP,t.backgroundColor=void 0!==e.backgroundColor&&null!==e.backgroundColor?String(e.backgroundColor):void 0,t},toJSON(e){const t={};return void 0!==e.verticalAlignment&&(t.verticalAlignment=function(e){switch(e){case Ms.TOP:return"TOP";case Ms.MIDDLE:return"MIDDLE";case Ms.BOTTOM:return"BOTTOM";default:return"UNKNOWN"}}(e.verticalAlignment)),void 0!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),t}},Gs={},Ws={fromJSON(e){const t=Object.assign({},Gs);return t.left=void 0!==e.left&&null!==e.left?String(e.left):void 0,t.right=void 0!==e.right&&null!==e.right?String(e.right):void 0,t.top=void 0!==e.top&&null!==e.top?String(e.top):void 0,t.bottom=void 0!==e.bottom&&null!==e.bottom?String(e.bottom):void 0,t},toJSON(e){const t={};return void 0!==e.left&&(t.left=e.left),void 0!==e.right&&(t.right=e.right),void 0!==e.top&&(t.top=e.top),void 0!==e.bottom&&(t.bottom=e.bottom),t}};var Hs;!function(e){e.NULL_VALUE="NULL_VALUE",e.UNRECOGNIZED="UNRECOGNIZED"}(Hs||(Hs={}));const zs={},Vs={fromJSON(e){var t;const n=Object.assign({},zs);return n.fields=Object.entries(null!==(t=e.fields)&&void 0!==t?t:{}).reduce(((e,[t,n])=>(e[t]=Zs.fromJSON(n),e)),{}),n},toJSON(e){const t={fields:{}};return e.fields&&Object.entries(e.fields).forEach((([e,n])=>{t.fields[e]=Zs.toJSON(n)})),t}},Js={},Zs={fromJSON(e){const t=Object.assign({},Js);return t.nullValue=void 0!==e.nullValue&&null!==e.nullValue?function(e){switch(e){case 0:case"NULL_VALUE":return Hs.NULL_VALUE;default:return Hs.UNRECOGNIZED}}(e.nullValue):void 0,t.numberValue=void 0!==e.numberValue&&null!==e.numberValue?Number(e.numberValue):void 0,t.stringValue=void 0!==e.stringValue&&null!==e.stringValue?String(e.stringValue):void 0,t.boolValue=void 0!==e.boolValue&&null!==e.boolValue?Boolean(e.boolValue):void 0,t.structValue=void 0!==e.structValue&&null!==e.structValue?Vs.fromJSON(e.structValue):void 0,t.listValue=void 0!==e.listValue&&null!==e.listValue?$s.fromJSON(e.listValue):void 0,t},toJSON(e){const t={};return void 0!==e.nullValue&&(t.nullValue=void 0!==e.nullValue?e.nullValue===Hs.NULL_VALUE?"NULL_VALUE":"UNKNOWN":void 0),void 0!==e.numberValue&&(t.numberValue=e.numberValue),void 0!==e.stringValue&&(t.stringValue=e.stringValue),void 0!==e.boolValue&&(t.boolValue=e.boolValue),void 0!==e.structValue&&(t.structValue=e.structValue?Vs.toJSON(e.structValue):void 0),void 0!==e.listValue&&(t.listValue=e.listValue?$s.toJSON(e.listValue):void 0),t}},Ks={},$s={fromJSON(e){var t;const n=Object.assign({},Ks);return n.values=(null!==(t=e.values)&&void 0!==t?t:[]).map((e=>Zs.fromJSON(e))),n},toJSON(e){const t={};return e.values?t.values=e.values.map((e=>e?Zs.toJSON(e):void 0)):t.values=[],t}},qs={},Ys={fromJSON(e){const t=Object.assign({},qs);return t.containerData=void 0!==e.containerData&&null!==e.containerData?yi.fromJSON(e.containerData):void 0,t.audio=void 0!==e.audio&&null!==e.audio?Li.fromJSON(e.audio):void 0,t.disableDownload=void 0!==e.disableDownload&&null!==e.disableDownload?Boolean(e.disableDownload):void 0,t.coverImage=void 0!==e.coverImage&&null!==e.coverImage?Li.fromJSON(e.coverImage):void 0,t.name=void 0!==e.name&&null!==e.name?String(e.name):void 0,t.authorName=void 0!==e.authorName&&null!==e.authorName?String(e.authorName):void 0,t.html=void 0!==e.html&&null!==e.html?String(e.html):void 0,t},toJSON(e){const t={};return void 0!==e.containerData&&(t.containerData=e.containerData?yi.toJSON(e.containerData):void 0),void 0!==e.audio&&(t.audio=e.audio?Li.toJSON(e.audio):void 0),void 0!==e.disableDownload&&(t.disableDownload=e.disableDownload),void 0!==e.coverImage&&(t.coverImage=e.coverImage?Li.toJSON(e.coverImage):void 0),void 0!==e.name&&(t.name=e.name),void 0!==e.authorName&&(t.authorName=e.authorName),void 0!==e.html&&(t.html=e.html),t}},Xs={indentation:0},Qs={fromJSON(e){const t=Object.assign({},Xs);return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t.offset=void 0!==e.offset&&null!==e.offset?Number(e.offset):void 0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),void 0!==e.offset&&(t.offset=e.offset),t}},el={indentation:0},tl={fromJSON(e){const t=Object.assign({},el);return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t.offset=void 0!==e.offset&&null!==e.offset?Number(e.offset):void 0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),void 0!==e.offset&&(t.offset=e.offset),t}},nl={indentation:0},ol={fromJSON(e){const t=Object.assign({},nl);return t.indentation=void 0!==e.indentation&&null!==e.indentation?Number(e.indentation):0,t},toJSON(e){const t={};return void 0!==e.indentation&&(t.indentation=Math.round(e.indentation)),t}},rl={anchor:""},il={fromJSON(e){const t=Object.assign({},rl);return t.anchor=void 0!==e.anchor&&null!==e.anchor?String(e.anchor):"",t},toJSON(e){const t={};return void 0!==e.anchor&&(t.anchor=e.anchor),t}},al={},sl={fromJSON(e){const t=Object.assign({},al);return t.background=void 0!==e.background&&null!==e.background?String(e.background):void 0,t.foreground=void 0!==e.foreground&&null!==e.foreground?String(e.foreground):void 0,t},toJSON(e){const t={};return void 0!==e.background&&(t.background=e.background),void 0!==e.foreground&&(t.foreground=e.foreground),t}},ll={},ul={fromJSON(e){const t=Object.assign({},ll);return t.link=void 0!==e.link&&null!==e.link?hi.fromJSON(e.link):void 0,t},toJSON(e){const t={};return void 0!==e.link&&(t.link=e.link?hi.toJSON(e.link):void 0),t}},cl={name:"",slug:""},dl={fromJSON(e){const t=Object.assign({},cl);return t.name=void 0!==e.name&&null!==e.name?String(e.name):"",t.slug=void 0!==e.slug&&null!==e.slug?String(e.slug):"",t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.name&&(t.name=e.name),void 0!==e.slug&&(t.slug=e.slug),void 0!==e.id&&(t.id=e.id),t}};var pl;!function(e){e.PX="PX",e.EM="EM",e.UNRECOGNIZED="UNRECOGNIZED"}(pl||(pl={}));const ml={unit:pl.PX},hl={fromJSON(e){const t=Object.assign({},ml);return t.unit=void 0!==e.unit&&null!==e.unit?function(e){switch(e){case 0:case"PX":return pl.PX;case 1:case"EM":return pl.EM;default:return pl.UNRECOGNIZED}}(e.unit):pl.PX,t.value=void 0!==e.value&&null!==e.value?Number(e.value):void 0,t},toJSON(e){const t={};return void 0!==e.unit&&(t.unit=function(e){switch(e){case pl.PX:return"PX";case pl.EM:return"EM";default:return"UNKNOWN"}}(e.unit)),void 0!==e.value&&(t.value=e.value),t}},gl={},fl={fromJSON(e){const t=Object.assign({},gl);return t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.id&&(t.id=e.id),t}};const vl={},yl={fromJSON(e){var t;const n=Object.assign({},vl);return n.nodes=(null!==(t=e.nodes)&&void 0!==t?t:[]).map((e=>El.fromJSON(e))),n.metadata=void 0!==e.metadata&&null!==e.metadata?Ll.fromJSON(e.metadata):void 0,n.documentStyle=void 0!==e.documentStyle&&null!==e.documentStyle?xl.fromJSON(e.documentStyle):void 0,n},toJSON(e){const t={};return e.nodes?t.nodes=e.nodes.map((e=>e?El.toJSON(e):void 0)):t.nodes=[],void 0!==e.metadata&&(t.metadata=e.metadata?Ll.toJSON(e.metadata):void 0),void 0!==e.documentStyle&&(t.documentStyle=e.documentStyle?xl.toJSON(e.documentStyle):void 0),t}},bl={type:Fo.A.PARAGRAPH,id:""},El={fromJSON(e){var t;const n=Object.assign({},bl);return n.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"PARAGRAPH":return Fo.A.PARAGRAPH;case 1:case"TEXT":return Fo.A.TEXT;case 2:case"HEADING":return Fo.A.HEADING;case 3:case"BULLETED_LIST":return Fo.A.BULLETED_LIST;case 4:case"ORDERED_LIST":return Fo.A.ORDERED_LIST;case 5:case"LIST_ITEM":return Fo.A.LIST_ITEM;case 6:case"BLOCKQUOTE":return Fo.A.BLOCKQUOTE;case 7:case"CODE_BLOCK":return Fo.A.CODE_BLOCK;case 8:case"VIDEO":return Fo.A.VIDEO;case 9:case"DIVIDER":return Fo.A.DIVIDER;case 10:case"FILE":return Fo.A.FILE;case 11:case"GALLERY":return Fo.A.GALLERY;case 12:case"GIF":return Fo.A.GIF;case 13:case"HTML":return Fo.A.HTML;case 14:case"IMAGE":return Fo.A.IMAGE;case 15:case"LINK_PREVIEW":return Fo.A.LINK_PREVIEW;case 16:case"MAP":return Fo.A.MAP;case 17:case"POLL":return Fo.A.POLL;case 18:case"APP_EMBED":return Fo.A.APP_EMBED;case 19:case"BUTTON":return Fo.A.BUTTON;case 20:case"COLLAPSIBLE_LIST":return Fo.A.COLLAPSIBLE_LIST;case 21:case"TABLE":return Fo.A.TABLE;case 22:case"EMBED":return Fo.A.EMBED;case 23:case"COLLAPSIBLE_ITEM":return Fo.A.COLLAPSIBLE_ITEM;case 24:case"COLLAPSIBLE_ITEM_TITLE":return Fo.A.COLLAPSIBLE_ITEM_TITLE;case 25:case"COLLAPSIBLE_ITEM_BODY":return Fo.A.COLLAPSIBLE_ITEM_BODY;case 26:case"TABLE_CELL":return Fo.A.TABLE_CELL;case 27:case"TABLE_ROW":return Fo.A.TABLE_ROW;case 28:case"EXTERNAL":return Fo.A.EXTERNAL;case 29:case"AUDIO":return Fo.A.AUDIO;default:return Fo.A.UNRECOGNIZED}}(e.type):Fo.A.PARAGRAPH,n.id=void 0!==e.id&&null!==e.id?String(e.id):"",n.nodes=(null!==(t=e.nodes)&&void 0!==t?t:[]).map((e=>El.fromJSON(e))),n.style=void 0!==e.style&&null!==e.style?Cl.fromJSON(e.style):void 0,n.buttonData=void 0!==e.buttonData&&null!==e.buttonData?Ri.fromJSON(e.buttonData):void 0,n.codeBlockData=void 0!==e.codeBlockData&&null!==e.codeBlockData?Hi.fromJSON(e.codeBlockData):void 0,n.dividerData=void 0!==e.dividerData&&null!==e.dividerData?Ki.fromJSON(e.dividerData):void 0,n.fileData=void 0!==e.fileData&&null!==e.fileData?Yi.fromJSON(e.fileData):void 0,n.galleryData=void 0!==e.galleryData&&null!==e.galleryData?ma.fromJSON(e.galleryData):void 0,n.gifData=void 0!==e.gifData&&null!==e.gifData?Aa.fromJSON(e.gifData):void 0,n.headingData=void 0!==e.headingData&&null!==e.headingData?Oa.fromJSON(e.headingData):void 0,n.htmlData=void 0!==e.htmlData&&null!==e.htmlData?La.fromJSON(e.htmlData):void 0,n.imageData=void 0!==e.imageData&&null!==e.imageData?Ta.fromJSON(e.imageData):void 0,n.linkPreviewData=void 0!==e.linkPreviewData&&null!==e.linkPreviewData?xa.fromJSON(e.linkPreviewData):void 0,n.mapData=void 0!==e.mapData&&null!==e.mapData?Ra.fromJSON(e.mapData):void 0,n.paragraphData=void 0!==e.paragraphData&&null!==e.paragraphData?Ua.fromJSON(e.paragraphData):void 0,n.pollData=void 0!==e.pollData&&null!==e.pollData?Ja.fromJSON(e.pollData):void 0,n.textData=void 0!==e.textData&&null!==e.textData?wl.fromJSON(e.textData):void 0,n.appEmbedData=void 0!==e.appEmbedData&&null!==e.appEmbedData?bs.fromJSON(e.appEmbedData):void 0,n.videoData=void 0!==e.videoData&&null!==e.videoData?Os.fromJSON(e.videoData):void 0,n.embedData=void 0!==e.embedData&&null!==e.embedData?Ps.fromJSON(e.embedData):void 0,n.collapsibleListData=void 0!==e.collapsibleListData&&null!==e.collapsibleListData?_s.fromJSON(e.collapsibleListData):void 0,n.tableData=void 0!==e.tableData&&null!==e.tableData?Ds.fromJSON(e.tableData):void 0,n.tableCellData=void 0!==e.tableCellData&&null!==e.tableCellData?Fs.fromJSON(e.tableCellData):void 0,n.externalData=void 0!==e.externalData&&null!==e.externalData?Vs.fromJSON(e.externalData):void 0,n.audioData=void 0!==e.audioData&&null!==e.audioData?Ys.fromJSON(e.audioData):void 0,n.orderedListData=void 0!==e.orderedListData&&null!==e.orderedListData?Qs.fromJSON(e.orderedListData):void 0,n.bulletedListData=void 0!==e.bulletedListData&&null!==e.bulletedListData?tl.fromJSON(e.bulletedListData):void 0,n.blockquoteData=void 0!==e.blockquoteData&&null!==e.blockquoteData?ol.fromJSON(e.blockquoteData):void 0,n},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case Fo.A.PARAGRAPH:return"PARAGRAPH";case Fo.A.TEXT:return"TEXT";case Fo.A.HEADING:return"HEADING";case Fo.A.BULLETED_LIST:return"BULLETED_LIST";case Fo.A.ORDERED_LIST:return"ORDERED_LIST";case Fo.A.LIST_ITEM:return"LIST_ITEM";case Fo.A.BLOCKQUOTE:return"BLOCKQUOTE";case Fo.A.CODE_BLOCK:return"CODE_BLOCK";case Fo.A.VIDEO:return"VIDEO";case Fo.A.DIVIDER:return"DIVIDER";case Fo.A.FILE:return"FILE";case Fo.A.GALLERY:return"GALLERY";case Fo.A.GIF:return"GIF";case Fo.A.HTML:return"HTML";case Fo.A.IMAGE:return"IMAGE";case Fo.A.LINK_PREVIEW:return"LINK_PREVIEW";case Fo.A.MAP:return"MAP";case Fo.A.POLL:return"POLL";case Fo.A.APP_EMBED:return"APP_EMBED";case Fo.A.BUTTON:return"BUTTON";case Fo.A.COLLAPSIBLE_LIST:return"COLLAPSIBLE_LIST";case Fo.A.TABLE:return"TABLE";case Fo.A.EMBED:return"EMBED";case Fo.A.COLLAPSIBLE_ITEM:return"COLLAPSIBLE_ITEM";case Fo.A.COLLAPSIBLE_ITEM_TITLE:return"COLLAPSIBLE_ITEM_TITLE";case Fo.A.COLLAPSIBLE_ITEM_BODY:return"COLLAPSIBLE_ITEM_BODY";case Fo.A.TABLE_CELL:return"TABLE_CELL";case Fo.A.TABLE_ROW:return"TABLE_ROW";case Fo.A.EXTERNAL:return"EXTERNAL";case Fo.A.AUDIO:return"AUDIO";default:return"UNKNOWN"}}(e.type)),void 0!==e.id&&(t.id=e.id),e.nodes?t.nodes=e.nodes.map((e=>e?El.toJSON(e):void 0)):t.nodes=[],void 0!==e.style&&(t.style=e.style?Cl.toJSON(e.style):void 0),void 0!==e.buttonData&&(t.buttonData=e.buttonData?Ri.toJSON(e.buttonData):void 0),void 0!==e.codeBlockData&&(t.codeBlockData=e.codeBlockData?Hi.toJSON(e.codeBlockData):void 0),void 0!==e.dividerData&&(t.dividerData=e.dividerData?Ki.toJSON(e.dividerData):void 0),void 0!==e.fileData&&(t.fileData=e.fileData?Yi.toJSON(e.fileData):void 0),void 0!==e.galleryData&&(t.galleryData=e.galleryData?ma.toJSON(e.galleryData):void 0),void 0!==e.gifData&&(t.gifData=e.gifData?Aa.toJSON(e.gifData):void 0),void 0!==e.headingData&&(t.headingData=e.headingData?Oa.toJSON(e.headingData):void 0),void 0!==e.htmlData&&(t.htmlData=e.htmlData?La.toJSON(e.htmlData):void 0),void 0!==e.imageData&&(t.imageData=e.imageData?Ta.toJSON(e.imageData):void 0),void 0!==e.linkPreviewData&&(t.linkPreviewData=e.linkPreviewData?xa.toJSON(e.linkPreviewData):void 0),void 0!==e.mapData&&(t.mapData=e.mapData?Ra.toJSON(e.mapData):void 0),void 0!==e.paragraphData&&(t.paragraphData=e.paragraphData?Ua.toJSON(e.paragraphData):void 0),void 0!==e.pollData&&(t.pollData=e.pollData?Ja.toJSON(e.pollData):void 0),void 0!==e.textData&&(t.textData=e.textData?wl.toJSON(e.textData):void 0),void 0!==e.appEmbedData&&(t.appEmbedData=e.appEmbedData?bs.toJSON(e.appEmbedData):void 0),void 0!==e.videoData&&(t.videoData=e.videoData?Os.toJSON(e.videoData):void 0),void 0!==e.embedData&&(t.embedData=e.embedData?Ps.toJSON(e.embedData):void 0),void 0!==e.collapsibleListData&&(t.collapsibleListData=e.collapsibleListData?_s.toJSON(e.collapsibleListData):void 0),void 0!==e.tableData&&(t.tableData=e.tableData?Ds.toJSON(e.tableData):void 0),void 0!==e.tableCellData&&(t.tableCellData=e.tableCellData?Fs.toJSON(e.tableCellData):void 0),void 0!==e.externalData&&(t.externalData=e.externalData?Vs.toJSON(e.externalData):void 0),void 0!==e.audioData&&(t.audioData=e.audioData?Ys.toJSON(e.audioData):void 0),void 0!==e.orderedListData&&(t.orderedListData=e.orderedListData?Qs.toJSON(e.orderedListData):void 0),void 0!==e.bulletedListData&&(t.bulletedListData=e.bulletedListData?tl.toJSON(e.bulletedListData):void 0),void 0!==e.blockquoteData&&(t.blockquoteData=e.blockquoteData?ol.toJSON(e.blockquoteData):void 0),t}},Al={},Cl={fromJSON(e){const t=Object.assign({},Al);return t.paddingTop=void 0!==e.paddingTop&&null!==e.paddingTop?String(e.paddingTop):void 0,t.paddingBottom=void 0!==e.paddingBottom&&null!==e.paddingBottom?String(e.paddingBottom):void 0,t.backgroundColor=void 0!==e.backgroundColor&&null!==e.backgroundColor?String(e.backgroundColor):void 0,t},toJSON(e){const t={};return void 0!==e.paddingTop&&(t.paddingTop=e.paddingTop),void 0!==e.paddingBottom&&(t.paddingBottom=e.paddingBottom),void 0!==e.backgroundColor&&(t.backgroundColor=e.backgroundColor),t}},Sl={text:""},wl={fromJSON(e){var t;const n=Object.assign({},Sl);return n.text=void 0!==e.text&&null!==e.text?String(e.text):"",n.decorations=(null!==(t=e.decorations)&&void 0!==t?t:[]).map((e=>Nl.fromJSON(e))),n},toJSON(e){const t={};return void 0!==e.text&&(t.text=e.text),e.decorations?t.decorations=e.decorations.map((e=>e?Nl.toJSON(e):void 0)):t.decorations=[],t}},Ol={type:Fo.g.BOLD},Nl={fromJSON(e){const t=Object.assign({},Ol);return t.type=void 0!==e.type&&null!==e.type?function(e){switch(e){case 0:case"BOLD":return Fo.g.BOLD;case 1:case"ITALIC":return Fo.g.ITALIC;case 2:case"UNDERLINE":return Fo.g.UNDERLINE;case 3:case"SPOILER":return Fo.g.SPOILER;case 4:case"ANCHOR":return Fo.g.ANCHOR;case 5:case"MENTION":return Fo.g.MENTION;case 6:case"LINK":return Fo.g.LINK;case 7:case"COLOR":return Fo.g.COLOR;case 8:case"FONT_SIZE":return Fo.g.FONT_SIZE;case 9:case"EXTERNAL":return Fo.g.EXTERNAL;default:return Fo.g.UNRECOGNIZED}}(e.type):Fo.g.BOLD,t.anchorData=void 0!==e.anchorData&&null!==e.anchorData?il.fromJSON(e.anchorData):void 0,t.colorData=void 0!==e.colorData&&null!==e.colorData?sl.fromJSON(e.colorData):void 0,t.linkData=void 0!==e.linkData&&null!==e.linkData?ul.fromJSON(e.linkData):void 0,t.mentionData=void 0!==e.mentionData&&null!==e.mentionData?dl.fromJSON(e.mentionData):void 0,t.fontSizeData=void 0!==e.fontSizeData&&null!==e.fontSizeData?hl.fromJSON(e.fontSizeData):void 0,t.fontWeightValue=void 0!==e.fontWeightValue&&null!==e.fontWeightValue?Number(e.fontWeightValue):void 0,t.italicData=void 0!==e.italicData&&null!==e.italicData?Boolean(e.italicData):void 0,t.underlineData=void 0!==e.underlineData&&null!==e.underlineData?Boolean(e.underlineData):void 0,t.spoilerData=void 0!==e.spoilerData&&null!==e.spoilerData?fl.fromJSON(e.spoilerData):void 0,t},toJSON(e){const t={};return void 0!==e.type&&(t.type=function(e){switch(e){case Fo.g.BOLD:return"BOLD";case Fo.g.ITALIC:return"ITALIC";case Fo.g.UNDERLINE:return"UNDERLINE";case Fo.g.SPOILER:return"SPOILER";case Fo.g.ANCHOR:return"ANCHOR";case Fo.g.MENTION:return"MENTION";case Fo.g.LINK:return"LINK";case Fo.g.COLOR:return"COLOR";case Fo.g.FONT_SIZE:return"FONT_SIZE";case Fo.g.EXTERNAL:return"EXTERNAL";default:return"UNKNOWN"}}(e.type)),void 0!==e.anchorData&&(t.anchorData=e.anchorData?il.toJSON(e.anchorData):void 0),void 0!==e.colorData&&(t.colorData=e.colorData?sl.toJSON(e.colorData):void 0),void 0!==e.linkData&&(t.linkData=e.linkData?ul.toJSON(e.linkData):void 0),void 0!==e.mentionData&&(t.mentionData=e.mentionData?dl.toJSON(e.mentionData):void 0),void 0!==e.fontSizeData&&(t.fontSizeData=e.fontSizeData?hl.toJSON(e.fontSizeData):void 0),void 0!==e.fontWeightValue&&(t.fontWeightValue=e.fontWeightValue),void 0!==e.italicData&&(t.italicData=e.italicData),void 0!==e.underlineData&&(t.underlineData=e.underlineData),void 0!==e.spoilerData&&(t.spoilerData=e.spoilerData?fl.toJSON(e.spoilerData):void 0),t}},Pl={version:0},Ll={fromJSON(e){const t=Object.assign({},Pl);return t.version=void 0!==e.version&&null!==e.version?Number(e.version):0,t.createdTimestamp=void 0!==e.createdTimestamp&&null!==e.createdTimestamp?Dl(e.createdTimestamp):void 0,t.updatedTimestamp=void 0!==e.updatedTimestamp&&null!==e.updatedTimestamp?Dl(e.updatedTimestamp):void 0,t.id=void 0!==e.id&&null!==e.id?String(e.id):void 0,t},toJSON(e){const t={};return void 0!==e.version&&(t.version=Math.round(e.version)),void 0!==e.createdTimestamp&&(t.createdTimestamp=e.createdTimestamp.toISOString()),void 0!==e.updatedTimestamp&&(t.updatedTimestamp=e.updatedTimestamp.toISOString()),void 0!==e.id&&(t.id=e.id),t}},Il={},Tl={fromJSON(e){var t;const n=Object.assign({},Il);return n.decorations=(null!==(t=e.decorations)&&void 0!==t?t:[]).map((e=>Nl.fromJSON(e))),n.nodeStyle=void 0!==e.nodeStyle&&null!==e.nodeStyle?Cl.fromJSON(e.nodeStyle):void 0,n.lineHeight=void 0!==e.lineHeight&&null!==e.lineHeight?String(e.lineHeight):void 0,n},toJSON(e){const t={};return e.decorations?t.decorations=e.decorations.map((e=>e?Nl.toJSON(e):void 0)):t.decorations=[],void 0!==e.nodeStyle&&(t.nodeStyle=e.nodeStyle?Cl.toJSON(e.nodeStyle):void 0),void 0!==e.lineHeight&&(t.lineHeight=e.lineHeight),t}},_l={},xl={fromJSON(e){const t=Object.assign({},_l);return t.headerOne=void 0!==e.headerOne&&null!==e.headerOne?Tl.fromJSON(e.headerOne):void 0,t.headerTwo=void 0!==e.headerTwo&&null!==e.headerTwo?Tl.fromJSON(e.headerTwo):void 0,t.headerThree=void 0!==e.headerThree&&null!==e.headerThree?Tl.fromJSON(e.headerThree):void 0,t.headerFour=void 0!==e.headerFour&&null!==e.headerFour?Tl.fromJSON(e.headerFour):void 0,t.headerFive=void 0!==e.headerFive&&null!==e.headerFive?Tl.fromJSON(e.headerFive):void 0,t.headerSix=void 0!==e.headerSix&&null!==e.headerSix?Tl.fromJSON(e.headerSix):void 0,t.paragraph=void 0!==e.paragraph&&null!==e.paragraph?Tl.fromJSON(e.paragraph):void 0,t.blockquote=void 0!==e.blockquote&&null!==e.blockquote?Tl.fromJSON(e.blockquote):void 0,t.codeBlock=void 0!==e.codeBlock&&null!==e.codeBlock?Tl.fromJSON(e.codeBlock):void 0,t},toJSON(e){const t={};return void 0!==e.headerOne&&(t.headerOne=e.headerOne?Tl.toJSON(e.headerOne):void 0),void 0!==e.headerTwo&&(t.headerTwo=e.headerTwo?Tl.toJSON(e.headerTwo):void 0),void 0!==e.headerThree&&(t.headerThree=e.headerThree?Tl.toJSON(e.headerThree):void 0),void 0!==e.headerFour&&(t.headerFour=e.headerFour?Tl.toJSON(e.headerFour):void 0),void 0!==e.headerFive&&(t.headerFive=e.headerFive?Tl.toJSON(e.headerFive):void 0),void 0!==e.headerSix&&(t.headerSix=e.headerSix?Tl.toJSON(e.headerSix):void 0),void 0!==e.paragraph&&(t.paragraph=e.paragraph?Tl.toJSON(e.paragraph):void 0),void 0!==e.blockquote&&(t.blockquote=e.blockquote?Tl.toJSON(e.blockquote):void 0),void 0!==e.codeBlock&&(t.codeBlock=e.codeBlock?Tl.toJSON(e.codeBlock):void 0),t}};function Dl(e){return e instanceof Date?e:"string"==typeof e?new Date(e):function(e){let t=1e3*Number(e.seconds);return t+=e.nanos/1e6,new Date(t)}(ai.fromJSON(e))}function*kl(e,t){var n,o;const r=[];for(const i of null!=(n=e.nodes)?n:[]){const[e,n]=null!=(o=i.nodes)?o:[];e&&n&&r.push([yield*Rl(e),yield*Rl(n)].join(t))}return r.join(t)}function*Rl(e,t="\n",n=!0){const o=yl.fromJSON(e),{nodes:r=[]}=o;let i="";for(let e=0;e0&&(i+=t),o.type){case Fo.A.CODE_BLOCK:case Fo.A.PARAGRAPH:case Fo.A.HEADING:i+=zr(o,n);break;case Fo.A.BLOCKQUOTE:i+=zr(Mr(o),n);break;case Fo.A.ORDERED_LIST:case Fo.A.BULLETED_LIST:i+=Jr(o,t,n);break;case Fo.A.GIF:i+=(yield*ei(o));break;case Fo.A.MAP:i+=ti(o);break;case Fo.A.APP_EMBED:i+=ni(o,t);break;case Fo.A.LINK_PREVIEW:i+=oi(o);break;case Fo.A.EMBED:i+=ri(o);break;case Fo.A.IMAGE:i+=(yield*qr(o,t));break;case Fo.A.VIDEO:i+=(yield*Xr(o,t));break;case Fo.A.AUDIO:i+=(yield*Qr(o,t));break;case Fo.A.COLLAPSIBLE_LIST:i+=(yield*kl(o,t))}}return i}const Ml=(e,t="")=>((e,t={})=>{var n;const o=Rl(e,t.delimiter,t.addLinksToText);let r=o.next();for(;!r.done;)switch(r.value.command){case"getImageUrl":{const e=t.urlShortener?null==(n=t.urlShortener)?void 0:n.call(t,r.value.data):r.value.data;r=o.next(e);break}case"getVideoUrl":{const e=t.getVideoUrl?t.getVideoUrl(r.value.data):`https://video.wixstatic.com/${r.value.data}`;r=o.next(e);break}case"getVideoEmbeddedUrl":{const e=t.getVideoEmbeddedUrl?t.getVideoEmbeddedUrl(r.value.data):r.value.data;r=o.next(e);break}case"getAudioUrl":{const e=t.getAudioUrl?t.getAudioUrl(r.value.data):Yr(r.value.data);r=o.next(e);break}case"getGifUrl":{const e=t.getGifUrl?t.getGifUrl(r.value.data):r.value.data;r=o.next(e);break}default:return""}return r.value})(e,{urlShortener:()=>"",getVideoUrl:()=>"",getAudioUrl:()=>"",getVideoEmbeddedUrl:()=>"",getGifUrl:()=>"",addLinksToText:!1,delimiter:t}),Bl=/A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B2\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA7AD\uA7B0\uA7B1\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB5F\uAB64\uAB65\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08E4-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C03\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D01-\u0D03\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u18A9\u1920-\u192B\u1930-\u193B\u19B0-\u19C0\u19C8\u19C9\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF5\u1DFC-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C4\uA8E0-\uA8F1\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2D/.source,Fl=/0-9\u0660-\u0669\u06F0-\u06F9\u07C0-\u07C9\u0966-\u096F\u09E6-\u09EF\u0A66-\u0A6F\u0AE6-\u0AEF\u0B66-\u0B6F\u0BE6-\u0BEF\u0C66-\u0C6F\u0CE6-\u0CEF\u0D66-\u0D6F\u0DE6-\u0DEF\u0E50-\u0E59\u0ED0-\u0ED9\u0F20-\u0F29\u1040-\u1049\u1090-\u1099\u17E0-\u17E9\u1810-\u1819\u1946-\u194F\u19D0-\u19D9\u1A80-\u1A89\u1A90-\u1A99\u1B50-\u1B59\u1BB0-\u1BB9\u1C40-\u1C49\u1C50-\u1C59\uA620-\uA629\uA8D0-\uA8D9\uA900-\uA909\uA9D0-\uA9D9\uA9F0-\uA9F9\uAA50-\uAA59\uABF0-\uABF9\uFF10-\uFF19/.source,Ul=/_\u200c\u200d\ua67e\u05be\u05f3\u05f4\uff5e\u301c\u309b\u309c\u30a0\u30fb\u3003\u0f0b\u0f0c\u00b7/.source;var jl={};function Gl(e,t){return t=t||"","string"!=typeof e&&(e.global&&t.indexOf("g")<0&&(t+="g"),e.ignoreCase&&t.indexOf("i")<0&&(t+="i"),e.multiline&&t.indexOf("m")<0&&(t+="m"),e=e.source),new RegExp(e.replace(/#\{(\w+)\}/g,((e,t)=>{let n=jl[t]||"";return"string"!=typeof n&&(n=n.source),n})),t)}jl.hashSigns=/[#\uff03]/,jl.hashtagAlpha=new RegExp("["+Bl+"]"),jl.hashtagAlphaNumeric=new RegExp("["+Bl+Fl+Ul+"]"),jl.endHashtagMatch=Gl(/^(?:#{hashSigns}|:\/\/)/),jl.hashtagBoundary=new RegExp("(?:^|$|[^&"+Bl+Fl+Ul+"])"),jl.validHashtag=Gl(/(#{hashtagBoundary})(#{hashSigns})(?!\ufe0f|\u20e3)(#{hashtagAlphaNumeric}*#{hashtagAlpha}#{hashtagAlphaNumeric}*)/gi);const Wl=jl;var Hl=n(56630);const zl=e=>{if(!e||!e.match(Wl.hashSigns))return[];const t=[];return e.replace(Wl.validHashtag,((e,n,o,r,i,a)=>{if(a.slice(i+e.length).match(Wl.endHashtagMatch))return;const s=i+n.length,l=s+r.length+1;t.push({hashtag:r,indices:[s,l]})})),t},Vl=e=>(0,A.map)(e,(e=>e.hashtag)),Jl=e=>(0,A.map)(e,(e=>e.toLowerCase())),Zl=(0,A.flowRight)(Jl,Vl,zl,A.toString),Kl=((0,A.flowRight)(Jl,Vl,zl,(e=>(0,Hl.K)(e)?Ml(e," "):(0,Bo.getContentText)(e))),"D1xXio"),$l={backgroundColor:`rgba(${"#faad4d".match(/#([\da-f]{2})([\da-f]{2})([\da-f]{2})/i).slice(1).map((e=>parseInt(e,16)))}, 0.3)`},ql=e=>(e=>{const t=Zl(e);return e&&!(0,A.reduce)(t,((e,t)=>e.replace(`#${t}`,"")),(0,A.toString)(e)).replace(/\s|,/g,"")})(e)?(0,A.map)(Zl(e),(e=>`#${e}`)):e.split(" "),Yl=e=>{let{text:t,query:n}=e;return a().createElement(Mo(),{highlightClassName:Kl,highlightStyle:$l,textToHighlight:t,searchWords:ql(n)})},Xl={container:"j9utVS",videoEmbed:"x1QQNM",large:"q0le6Y",title:"Gl8eWB",content:"PXvRd6",separator:"HZXMCr",metaContainer:"xrwGqD",text:"H7IWI8"},Ql=e=>{let{post:t,query:n,onLikeClick:o,displayFooterIcons:r,postDetailsLineCount:i=4,borderWidth:s,titleFontClassName:l,contentFontClassName:u,contentFontClassNameWithStyle:c,postTitleFontSize:p=28,postDescriptionFontSize:m=16,postMetadataFontSize:h=12,applyFeedDesign:g,getPostClassName:f,layoutType:v}=e;const y=g?f("description-font"):u,b=g?f("description-style-font"):c,E=d()(Xl.container,y,!g&&["blog-text-color","blog-card-background-color","blog-card-border-color"],"post-list-item",f((0,ko.hw)(v,"description-color"),(0,ko.hw)(v,"background-color"),"border-color")),A=`/${t.slug}`,C="search",S=t.excerpt?t.excerpt.slice(0,700):(0,Io.getContentText)(t.content).slice(0,700),w=n?a().createElement(Yl,{text:t.title,query:n}):t.title;return a().createElement("article",{className:E,tabIndex:"0",style:{borderWidth:s},"data-hook":"post-list-item"},a().createElement("div",{className:Xl.contentWrapper},a().createElement("div",{style:{fontSize:h},className:d()(Xl.header,y)},a().createElement(_o.A,{type:C,post:t})),a().createElement("div",{style:{fontSize:p},className:d()(Xl.title,l)},a().createElement(xo.A,{fullRoute:t.link,type:C,title:w,to:A})),a().createElement("div",{style:{fontSize:m},className:d()(Xl.content,b),"data-hook":"post-description"},a().createElement("p",{className:Xl.text,style:{WebkitLineClamp:i}},n?a().createElement(Yl,{text:S,query:n}):S)),a().createElement(Do.yC,{className:d()(Xl.separator,f("description-background-color"))}),a().createElement("div",{style:{fontSize:h},className:d()(Xl.metaContainer,y)},a().createElement(To.A,{post:t,onLikeClick:o,displayIcons:r,type:C}))))};Ql.SEARCH="search";const eu=(0,A.flowRight)(An.A,$e.A,yn.A)(Ql),tu="FAMRGA",nu="gIFXsZ",ou="VbmcXs",ru="B4NYD6";class iu extends i.Component{constructor(){super(...arguments),ue()(this,"state",{page:1,from:0,to:20}),ue()(this,"handlePageChange",(e=>{let{page:t,from:n,to:o}=e;return this.setState({page:t,from:n,to:o})}))}renderItem(e,t,n){return"post"===e.type?a().createElement(eu,{key:(0,_.S)(e),post:e,query:t,onLikeClick:n,layoutType:this.props.layoutType}):null}render(){const{posts:e,query:t,onPostLikeClick:n,borderWidth:o}=this.props,{page:r,from:i,to:s}=this.state,l={borderWidth:o,marginTop:-o};return a().createElement("div",{className:d()(tu,"search-results-list")},a().createElement("div",{className:d()(nu,"blog-card-border-color"),style:l},e.slice(i,s).map((e=>this.renderItem(e,t,n))),a().createElement(Lo,{className:d()(ru,"blog-card-background-color"),page:r,entityCount:e.length,pageSize:20,onChange:this.handlePageChange}),a().createElement(cn.A,null)))}}const au=(0,A.flowRight)($t.A)(iu),su=e=>a().createElement(i.Fragment,null,e.posts.map((t=>(e=>{const{post:t,query:n,onPostLikeClick:o}=e,i=(0,_.S)(t),s={post:t,onLikeClick:o,query:n,postMetadataFontSize:12,postDescriptionFontSize:16,postTitleFontSize:26};return a().createElement("div",{className:d()(ou,"search-results-list__list-item"),key:i,id:i},a().createElement(eu,r()({type:"search"},s,{postDetailsLineCount:3})),a().createElement(cn.A,null))})({...e,post:t})))),lu=(0,u.A)(su,au),uu=(0,s.Ng)(((e,t,n)=>({onPostLikeClick:n.incrementPostLikeCount})))(lu),cu=e=>e.search.posts,du="pRy83j",pu=(0,Ve.A)((0,$t.A)((e=>{let{t,borderWidth:n}=e;return a().createElement(Rn,null,a().createElement("div",{style:{marginTop:-n}},a().createElement(_n,{className:du,title:t("search-page.no-results-title"),content:t("search-page.no-results-content")})))}))),mu=(0,A.flowRight)((0,s.Ng)(((e,t)=>({result:cu(e),isLoading:so(e),query:(0,Bn.PH)((0,A.get)(t,"params.query"))}))))((e=>{let{result:t,isLoading:n,query:o}=e;const r=Boolean((0,A.get)(t,"length",0));return a().createElement(Rn,{noSpacing:!r},a().createElement(to,null,a().createElement(Xn,{isLoading:n},o?r?a().createElement(uu,{posts:t,query:o}):a().createElement(po,null):a().createElement(pu,null)),!n&&a().createElement(mn,null)))})),hu={container:"QCPRM5","back-office":"CKLwFf",backOffice:"CKLwFf",success:"EdzGzM",error:"vcU6xU",info:"A1e1WH",center:"E1Fz0F",static:"B58XC1",close:"Us6ADw"},gu=(0,Ve.A)((e=>{let{t,alignment:n,position:o,content:r,type:i,onClose:s,top:l=0,isInBackOffice:u=!1,message:c,messageProps:p}=e;i=i||c.type;const m=!i,h=d()(hu.container,hu[i],hu[n],hu[o],{"blog-card-color":m,"blog-icon-secondary-background-color":m},{[hu.backOffice]:u},"message"),g={top:`${l}px`};if(r=r||c.content,"function"!=typeof r){const e=r;r=()=>a().Children.only(e)}return a().createElement("div",{className:h,style:g},r(t,p),s&&a().createElement("button",{className:d()(hu.close,"message__close"),onClick:s}))}));var fu=n(1920),vu=n(22054),yu=n(79881);const bu=e=>{let{i18nKey:t}=e;return a().createElement("span",null,a().createElement(fu.x,{i18nKey:t}))},Eu={[yu.kw]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-restored"}),type:"success"},[yu.gE]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-moved-to-trash"}),type:"success"},[yu.V5]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-pinned"}),type:"info"},[yu.yT]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-unpinned"}),type:"info"},[yu.JH]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-deleted"}),type:"success"},[yu.Pv]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-delete-another-writer-editing-error"}),type:"error"},[yu.B9]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-published"}),type:"success"},[yu.j7]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-reverted-to-draft"}),type:"success"},[yu.H9]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-changes-discarded"}),type:"success"},[yu.Gf]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-changes-not-published"}),type:"info"},[yu.JK]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-updated"}),type:"success"},[yu.JB]:{type:"info"},[yu.NJ]:{content:()=>a().createElement(bu,{i18nKey:"messages.commenting-enabled"}),type:"info"},[yu.g_]:{content:()=>a().createElement(bu,{i18nKey:"messages.commenting-disabled"}),type:"info"},[yu.dC]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-duplicated"}),type:"success"},[yu.vD]:{content:()=>a().createElement(bu,{i18nKey:"messages.draft-moved-to-trash"}),type:"success"},[yu.WF]:{content:()=>a().createElement(bu,{i18nKey:"messages.draft-deleted"}),type:"success"},[yu.mZ]:{content:()=>a().createElement(bu,{i18nKey:"messages.draft-duplicated"}),type:"success"},[yu.dl]:{content:()=>a().createElement(bu,{i18nKey:"messages.user-subscribed"}),type:"info"},[yu.ML]:{content:()=>a().createElement(bu,{i18nKey:"messages.user-unsubscribed"}),type:"info"},[yu.e]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-subscribed"}),type:"info"},[yu.dX]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-unsubscribed"}),type:"info"},[yu.ZI]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-moved"})},[yu.DL]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-category-changed"})},[yu.gW]:{content:()=>a().createElement(bu,{i18nKey:"messages.comment-updated"}),type:"info"},[yu.W4]:{content:()=>a().createElement(bu,{i18nKey:"messages.comment-deleted"}),type:"info"},[yu.xA]:{content:(e,t)=>{switch(t&&t.sort().join("-")){case"title":return a().createElement(bu,{i18nKey:"messages.post-title-required"});case"content":return a().createElement(bu,{i18nKey:"messages.post-content-required"});default:return a().createElement(bu,{i18nKey:"messages.post-fields-required"})}},type:"error"},[yu.bC]:{content:(e,t)=>"label"===(t&&t.sort().join("-"))?a().createElement(bu,{i18nKey:"messages.category-title-required"}):a().createElement(bu,{i18nKey:"messages.category-fields-required"}),type:"error"},[yu.Q2]:{content:()=>a().createElement(bu,{i18nKey:"messages.user-promoted-writer"})},[yu.MC]:{content:()=>a().createElement(bu,{i18nKey:"messages.user-demoted-writer"})},[yu.nx]:{content:()=>a().createElement(bu,{i18nKey:"messages.user-blocked"})},[yu.e_]:{content:()=>a().createElement(bu,{i18nKey:"messages.user-unblocked"})},[yu.Vy]:{content:()=>a().createElement(bu,{i18nKey:"messages.category-deleted"})},[yu.ur]:{content:()=>a().createElement(bu,{i18nKey:"messages.category-created"}),type:"success"},[yu.Ox]:{content:()=>a().createElement(bu,{i18nKey:"messages.category-subscribed"})},[yu.fn]:{content:()=>a().createElement(bu,{i18nKey:"messages.category-unsubscribed"})},[yu.i7]:{content:(e,t)=>{const{name:n,image:o,cover:r}=t;return n?a().createElement(bu,{i18nKey:"messages.profile-name-required"}):o?a().createElement(bu,{i18nKey:"messages.profile-image-uploading"}):r?a().createElement(bu,{i18nKey:"messages.profile-cover-uploading"}):a().createElement(bu,{i18nKey:"messages.profile-unknown-error"})},type:"error"},[yu.if]:{content:()=>a().createElement(bu,{i18nKey:"messages.profile-updated"})},[yu._R]:{content:()=>a().createElement(bu,{i18nKey:"messages.profile-update-failed"}),type:"error"},[yu.sT]:{content:()=>a().createElement(bu,{i18nKey:"messages.settings-saved"}),type:"success"},[yu.gm]:{content:()=>a().createElement(bu,{i18nKey:"messages.logo-saved"}),type:"success"},[vu.y$]:{content:()=>a().createElement(bu,{i18nKey:"messages.download-will-begin-shortly"}),type:"info"},[vu.Ur]:{content:()=>a().createElement(bu,{i18nKey:"messages.file-too-big"}),type:"error"},[vu.l]:{content:()=>a().createElement(bu,{i18nKey:"messages.file-upload-limited"}),type:"error"},[vu.FC]:{content:()=>a().createElement(bu,{i18nKey:"messages.file-upload-failure"}),type:"error"},[yu.Cz]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-submitted-for-moderation"}),type:"success"},[yu.SE]:{content:()=>a().createElement(bu,{i18nKey:"messages.post-updated-in-moderation"}),type:"success"},[yu.ZC]:{content:()=>a().createElement(bu,{i18nKey:"messages.technical-issue"}),type:"error"}},Au="UwtYxn",Cu=3e3;const Su=function(e){let{MessageComponent:t,closeTimeout:n=Cu,messages:o,className:l}=e;class u extends i.Component{constructor(){super(...arguments),ue()(this,"hideMessage",(()=>{clearTimeout(this.timeout),this.props.hideMessage(),this.timeout=void 0}))}componentDidUpdate(e){this.props.messageType!==e.messageType&&(clearTimeout(this.timeout),this.timeout=setTimeout(this.hideMessage,n))}componentWillUnmount(){clearTimeout(this.timeout),this.props.hideMessage()}render(){const{messageType:e,messageProps:n,hideMessage:i}=this.props,s=o[e],u=(e=>{switch(e){case"error":return{role:"alert"};case"info":return{"aria-live":"polite"};case"important":return{"aria-live":"assertive"};default:return{}}})((0,A.get)(s,"type"));return a().createElement("div",r()({className:d()(l||Au,"message"),"data-hook":"message"},u),s?a().createElement(t,{message:s,messageProps:n,onClose:i}):null)}}return(0,A.flowRight)((0,s.Ng)(((e,t,n)=>{const o=(e=>e.MESSAGE)(e);return{messageType:o.type,messageProps:o.props,hideMessage:()=>n.hideMessage()}})))(u)}({MessageComponent:gu,messages:Eu,className:"qi0cF2"});var wu=n(34686);const Ou=e=>e.modal,Nu=e=>Ou(e).openedModals,Pu="I5oIvV",Lu=(e=>{let{importModals:t}=e;return e=>{let{setRef:n}=e;const o=(0,s.d4)(Nu),{closeModal:l}=(0,s.dN)(),[u,c]=(0,i.useState)(null),d=(0,i.useMemo)((()=>0===Object.keys(o).length),[o]);return d?null:a().createElement("div",{className:Pu},Object.entries(o).map(((e,o)=>{let[i,{props:s,correlationId:d}]=e;const p=(e=>(u||t().then((e=>c(e.default))).catch(A.noop),u&&e in u?u[e]:null))(i);return p&&a().createElement("div",{id:"new-blog-modal-root",ref:n||A.noop,style:{zIndex:o,position:"absolute",top:0,left:0,right:0,bottom:0},key:i},a().createElement(p,r()({},s,{closeModal:function(e){return void 0===e&&(e=!1),(0,wu.pR)(l({type:i,resolve:e,correlationId:d}))}})))})))}})({importModals:()=>Promise.all([n.e(6736),n.e(4263),n.e(6076),n.e(9648)]).then(n.bind(n,36413))});var Iu=n(47210),Tu=n(58486),_u=n.n(Tu),xu=n(30987),Du=n(54809);const ku=function(e){const t=t=>a().createElement(Du.a.Consumer,null,(n=>a().createElement(e,r()({},n,t))));return t.displayName=(0,xu.A)("WithComponents",e),_u()(t,e),t};var Ru=n(86579),Mu=n(10711);const Bu=(0,Mu.default)((function(e,t){void 0===t&&(t=()=>{});return(0,s.Ng)(((e,t,n)=>({navigateInPreview:n.navigateInPreview})))((n=>{let{children:o,page:i,isDisabled:s,isActive:l,navigateInPreview:u,...c}=n;if(l||s)return a().createElement("div",c,o);const d=e(i);return a().createElement("a",r()({href:d,onClick:e=>t({event:e,pageUrl:d,navigateInPreview:u})},c),o)}))})),Fu="aq_u4p",Uu="HcArW_",ju=e=>{const t=(0,Ru.A)({section:e.section}),{rootWidth:n}=(0,te.N)(),o=(0,Q.D5)(t.layoutType),r=e.useDescriptionColor||!(0,Q.gc)(t.layoutType),i=d()(Fu,o&&Uu,o&&`blog-post-${t.section}-background-color`,r?`blog-post-${t.section}-description-color`:"blog-text-color",e.containerClassName),s=r?`blog-post-${t.section}-description-fill`:void 0,l=`blog-post-${t.section}-description-style-font`;return a().createElement("div",{className:i},a().createElement(Lo,{activeClass:e.activeClass,page:e.page,pageSize:e.pageSize,entityCount:e.entityCount,showPosition:(o||n<375)&&(e.showPagination??!0),arrowFillClass:s,onChange:e.onChange,pageClass:l,positionClass:l,component:Bu(e.createPageUrl??(()=>""),e.handleNavigation)}))};var Gu=n(25927);const Wu=(e,t,n)=>`${e}/archive/${t}/${n}`;var Hu=n(52688);const zu=(0,Mu.default)(((e,t)=>e=>{let{event:n,pageUrl:o,navigateInPreview:r}=e;t||(n.preventDefault(),r(o,Hu.Jl))})),Vu=e=>e.isLoaded,Ju=function(e,t,n){return void 0===n&&(n=""),Boolean(n?(0,A.get)(Vu(e),[t,n]):Vu(e)[t])},Zu=(e,t)=>Ju(e,"category",t),Ku=(e,t)=>Ju(e,"tag",t),$u=e=>Ju(e,"feed-posts"),qu=e=>Ju(e,"archive"),Yu=e=>Ju(e,"hashtag-posts");var Xu=n(82314),Qu=n(60879),ec=n(96675),tc=n(72304);const nc=function(e,t){void 0===e&&(e=200),void 0===t&&(t=!1);const[n,o]=a().useState(!1),r=a().useRef(null),s=a().useCallback((()=>{var t;const n=null==(t=r.current)?void 0:t.getBoundingClientRect();return n&&n.top{s()&&o(!0)}),[s]);return(0,i.useEffect)((()=>{l()}),[l]),(0,tc.A)(t?void 0:l),{isOnScreen:!!t||n,ref:r}};var oc=n(70377),rc=n(99212);const ic="undefined"==typeof window;class ac extends i.Component{constructor(e){super(e),this.state={isContentVisible:!e.isEnabled||!ic&&e.historyEntryCount>1||e.isSeo}}componentDidMount(){this.setState({isContentVisible:!0})}render(){return a().createElement(Xn,{shouldShowLoader:!1,isLoading:!this.state.isContentVisible},this.props.children)}}const sc=(0,s.Ng)((e=>({isSeo:(0,U.ah)(e)})))(ac);class lc extends a().Component{componentDidMount(){var e,t;null==(e=(t=this.props).loadRemainingPosts)||e.call(t)}render(){return null}}const uc=lc;var cc=n(31242);const dc=e=>{const{isLoading:t,allPosts:n,entityCount:o,isLazyPaginationEnabled:i,page:s,pageSize:l,loadRest:u,loadMore:c,pageStart:d,currentPagePosts:p,isEditor:m}=e;if(u&&i){const t=o-(s-1)*l-p.length,n=p.length0;return a().createElement(a().Fragment,null,a().createElement(pc,r()({},e,{showLoader:!0})),p.length>0&&n&&a().createElement(mc,{isEditor:m,loadRemainingPosts:u}))}return c?a().createElement(Qu.A,{loadMore:c,loader:a().createElement($n.A,null),isLoading:t,hasMore:n.length{let{allPosts:t,entityCount:n,layoutName:o,isLoading:i,layoutConfig:s,showLoader:l=!1,...u}=e;const c=u[s.listComponentName],d=u[s.itemComponentName];return a().createElement("div",{style:(0,rc.g)()},a().createElement(c,r()({key:"posts",posts:t,entityCount:n,type:o,ItemComponent:d,itemConfig:s.itemConfig},u)),l&&i&&a().createElement($n.A,{dataHook:"post-list__loader",key:"loader"}))},mc=e=>{let{loadRemainingPosts:t,isEditor:n}=e;const{isOnScreen:o,ref:r}=nc(void 0,n);return o?a().createElement(uc,{loadRemainingPosts:t}):a().createElement("div",{ref:r})},hc=(0,s.Ng)(((e,t,n)=>({isPostListFullWidthEnabled:(0,g.Fu)(e),isLazyPaginationEnabled:(0,oc.Kv)(e),onLikeClick:n.incrementPostLikeCount,isEditor:(0,U.sb)(e)}))),gc=(0,A.flowRight)(hc,ku,C.A,ec.A,(0,ee.A)())((e=>{const{layoutType:t,layoutName:n,isMetadataFooterVisible:o,isPostListFullWidthEnabled:i}=e,s=(0,ko.jE)(t),l=d()(cc.A.container,i&&cc.A.fullWidth,cc.A[n],!o&&cc.A.withoutFooter,"post-list");return a().createElement("div",{className:l},a().createElement(sc,{isEnabled:s.listComponentName===Xu.fR},a().createElement(dc,r()({},e,{layoutConfig:s}))))}));var fc=n(63770);function vc(e){return t=>(0,s.Ng)((e=>(t,n)=>{var o;const r=(0,oc.$A)(t,e),i=r===fc.ti.MultiplePages,a=i?Number((null==n||null==(o=n.params)?void 0:o.page)??(0,oc.p$)(t,"posts")):(0,oc.sr)(t,"posts"),s=(0,oc.LX)(t,e),l=(0,oc.Vf)(t,"posts"),u=No(l,s);return{paginationType:r,page:a,pageSize:s,lastPage:u,isValidPage:1===a||a>1&&a<=u,entityCount:l,showPagination:i}})(e))(t)}const yc=hn;class bc extends i.Component{constructor(){super(...arguments),ue()(this,"loadMore",(e=>this.fetchPosts(this.props.year,this.props.month,e)))}componentWillUnmount(){this.props.setIsLoaded("archive",null,!0)}componentDidUpdate(e){let{isAuthenticated:t,isBlocked:n,pageSize:o,excludeContent:r}=e;const{year:i,month:a}=this.props;(this.props.isAuthenticated!==t||this.props.isBlocked!==n||this.props.pageSize!==o||r&&!this.props.excludeContent)&&this.fetchPosts(i,a)}fetchPosts(e,t,n){if(void 0===n&&(n=this.props.page),!this.props.isBlocked)return this.props.fetchArchive(e,t,n)}renderPosts(){const{currentPagePosts:e,allPosts:t,entityCount:n,showCreatePostAction:o,page:r,layoutType:i,showPagination:s,isArchiveLoading:l,isArchiveLoaded:u,PostListProGallery:c,canSeeMoreButton:d}=this.props;return(0,Q.Ge)(i)?a().createElement(c,{pageStart:r+1,entityCount:n,loadMore:s?void 0:this.loadMore,allPosts:s?e:t,currentPagePosts:e,isLoading:l,showCreatePostAction:o,canSeeMoreButton:d,section:m.vx}):a().createElement(gc,{pageStart:r+1,layoutType:i,entityCount:n,loadMore:s?void 0:this.loadMore,allPosts:s?e:t,currentPagePosts:e,isLoading:l,isLoaded:u,showCreatePostAction:o})}renderPagination(){const{entityCount:e,pageSize:t,page:n,archiveUrl:o,isSite:r,showPagination:i}=this.props;return a().createElement("div",{"data-hook":"archive-pagination-container",style:{display:i?"block":"none"}},a().createElement(ju,{page:n,pageSize:t,entityCount:e,createPageUrl:e=>Oo(e,o),handleNavigation:zu("archive",r),showPagination:i}))}render(){const{allPosts:e,isArchiveLoading:t,isArchiveLoaded:n}=this.props,o=t&&!n;return a().createElement(Rn,{noSpacing:!0},a().createElement(yc,null,a().createElement(Xn,{isLoading:o&&!e.length},this.renderPosts()),!o&&this.renderPagination(),n&&a().createElement(mn,null)))}}const Ec=(0,A.flowRight)(ze.A,ku,vc(m.vx),(0,ee.A)(),de.A,Ve.A,(0,s.Ng)(((e,t,n)=>{const o=(0,A.get)(t,["params","year"]),r=(0,A.get)(t,["params","month"]),i=(0,Xt.Do)(e),a=(0,U.Ny)(e)&&Je(e,t.canSee);return{year:o,month:r,archiveUrl:Wu(i,o,r),allPosts:o&&r?(0,X.On)(e,{year:o,month:r}):[],currentPagePosts:o&&r?(0,X.xP)(e,{year:o,month:r},t.page):[],isArchiveLoading:lo(e),isArchiveLoaded:qu(e),isSite:(0,U.IC)(e),showCreatePostAction:a,excludeContent:(0,Gu.wq)(e),setIsLoaded:n.setIsLoaded,fetchArchive:(t,o,r)=>n.fetchArchivePostsWithAdapterPromisified({page:r,includeContent:(0,Gu.bh)(e),archiveOptions:{year:parseInt(t,10),month:parseInt(o,10),timeZone:(0,U.Md)(e)}}),canSeeMoreButton:(0,g.tJ)(e,t.canSee)}})))(bc);var Ac=n(90269);const Cc="kU7dIn",Sc=({PluginComponent:e,isEmpty:t,isHighlighted:n,slotUniqueId:o})=>a().createElement("div",{id:o,"data-hook":`slot-placeholder-${o}`,className:n?Cc:""},!t&&a().createElement(e,null)),wc=e=>{const{PluginComponent:t,isEmpty:n}=(e=>{const t=(0,i.useContext)(Ac.nb),n=t?.[e]??null;return{PluginComponent:(0,i.useMemo)((()=>()=>n),[n]),isEmpty:!n}})(e),o=(e=>"highlighted"===(0,i.useContext)(Ac.lo)[e])(e),r=(e=>`${(0,i.useContext)(Ac.P1)}.${e}`)(e);return[a().useCallback((()=>a().createElement(Sc,{slotUniqueId:r,isHighlighted:o,isEmpty:n,PluginComponent:t})),[r,o,n,t]),n]},Oc=e=>{const[t]=wc(e.slotId);return a().createElement(t,null)};var Nc=n(15413),Pc=n(38369);var Lc=n(17617);var Ic=n(9803);const Tc="R9UFnY",_c="gUKJE0",xc="RpSBjv",Dc="KtXVa9",kc=(0,$e.A)((e=>{let{category:t,titleFontClassName:n,contentFontClassName:o}=e;return a().createElement("div",{className:d()(Tc,n,"blog-card-background-color")},a().createElement("h1",{className:d()(_c,"blog-text-color")},t.menuLabel),a().createElement("div",{className:d()(xc,o)},a().createElement("span",{className:d()(Dc,"blog-text-color")},t.description)))})),Rc=(0,Ve.A)((e=>{let{t,...n}=e;return a().createElement(_n,r()({title:t("no-posts.posts-coming-soon"),content:t("no-posts.explore-other-categories")},n))})),Mc=((e,t)=>(0,ze.A)((n=>{let{can:o,...r}=n;const i=o("create","post")?e:t;return a().createElement(i,r)})))((0,A.flowRight)(Ve.A,(0,s.Ng)((e=>({isLiveSiteEditingEnabled:!(0,k.Rk)(e)}))))((e=>{let{category:t,t:n,isLiveSiteEditorEnabled:o,...i}=e;return a().createElement(_n,r()({title:n("no-posts-writer.create-posts"),content:n("no-posts-writer.readers-would-love")},i),o&&a().createElement(je.A,{categorySlug:t&&t.slug}))})),Rc),Bc=hn;class Fc extends i.Component{constructor(){super(...arguments),ue()(this,"loadMore",(e=>this.fetchPosts((0,_.S)(this.props.category),e))),ue()(this,"loadRest",(()=>this.fetchPosts((0,_.S)(this.props.category),this.props.page))),ue()(this,"createPageUrl",(e=>Oo(e,this.props.categoryUrl)))}componentWillUnmount(){const{category:e}=this.props;this.props.setIsLoaded("category",(0,_.S)(e),!1)}componentDidUpdate(e){let{isAuthenticated:t,isBlocked:n,pageSize:o,excludeContent:r,params:i}=e;const{category:a}=this.props;(this.props.isAuthenticated!==t||this.props.isBlocked!==n||this.props.pageSize!==o||r&&!this.props.excludeContent)&&this.fetchPosts((0,_.S)(a)),this.props.params.categorySlug!==i.categorySlug&&this.props.paginationClearCollection({entityType:Nc.F$})}fetchPosts(e,t){if(void 0===t&&(t=this.props.page),!this.props.isBlocked)return this.props.fetchCategoryPosts({categoryId:e,page:t,excludeContent:this.props.excludeContent})}renderPosts(){const{currentPagePosts:e,allPosts:t,entityCount:n,category:o,isCategoryLoading:r,isCategoryLoaded:i,showCreatePostAction:s,page:l,layoutType:u,showPagination:c,PostListProGallery:d,canSeeMoreButton:p,pageSize:h}=this.props;return 0===t.length&&i&&o?a().createElement(Mc,{category:o}):(0,Q.Ge)(u)?a().createElement(d,{pageStart:l+1,entityCount:n,loadMore:c?void 0:this.loadMore,allPosts:c?e:t,currentPagePosts:e,isLoading:r,showCreatePostAction:s,canSeeMoreButton:p,layoutOptions:this.props.layoutOptions,section:m.vx}):a().createElement(gc,{pageStart:l+1,layoutType:u,entityCount:n,page:l,pageSize:h,loadRest:c?this.loadRest:void 0,loadMore:c?void 0:this.loadMore,allPosts:c?e:t,currentPagePosts:e,isLoading:r,category:o,isLoaded:i,showCreatePostAction:s})}renderPagination(){const{entityCount:e,pageSize:t,page:n,isSite:o,categoryPath:r,showPagination:i}=this.props;return a().createElement("div",{"data-hook":"category-pagination-container",style:{display:i?"block":"none"}},a().createElement(ju,{page:n,pageSize:t,entityCount:e,createPageUrl:this.createPageUrl,handleNavigation:zu(r,o),showPagination:i}))}render(){const{category:e,isCategoryLoading:t,isCategoryLoaded:n,allPosts:o,isCategoryHeaderEnabled:r}=this.props,i=t&&!n;return a().createElement(Rn,{noSpacing:!0},a().createElement(Bc,null,r&&a().createElement(kc,{category:e}),a().createElement(Oc,{slotId:"above-post-list"}),a().createElement(Xn,{isLoading:i&&!o.length},this.renderPosts()),!i&&this.renderPagination(),n&&a().createElement(mn,null)))}}const Uc=(0,s.Ng)(((e,t,n)=>{const o=(0,Ic.Iz)(t.params),r=(0,D.pI)(e,o),i=(0,_.S)(r),a=(0,_.v)(r)??i,s=a?(0,X.g5)(e,a,t.page):[],l=a?(0,X.X5)(e,a):[],{categoryPath:u,useCategoryMenuLabelForMetadataTitle:c}=(0,p.WE)(e),d=((e,t,n)=>{if(e){const o=[t,n];return(0,A.endsWith)(n,"/")&&o.push(""),(0,Pc.CD)((0,A.reduce)(o,((e,t)=>e.segment(t)),new So.A(e)).toString())}return""})((0,Xt.Do)(e),u,o),m=(0,U.Ny)(e)&&Je(e,t.canSee),{feedSliderShowArrows:h,feedSliderArrowsSize:f,feedSliderAutoSlide:v,feedSliderPauseTime:y,feedSliderArrowsPosition:b,feedSliderArrowsColor:E,feedSliderLoop:C}=Lc.mS;return{categoryUrl:d,categoryPath:`/${u}/${o}`,category:r,allPosts:l,currentPagePosts:s,categoryId:i,isCategoryLoading:ro(e,i),isCategoryLoaded:Zu(e,i),isSite:(0,U.IC)(e),showCreatePostAction:m,excludeContent:(0,Gu.wq)(e),useCategoryMenuLabelForMetadataTitle:c,setIsLoaded:n.setIsLoaded,fetchCategoryPosts:t=>n.fetchCategoryPostsWithAdapterPromisified({page:t.page,includeContent:(0,Gu.bh)(e),categoryOptions:{id:t.categoryId}}),paginationClearCollection:n.paginationClearCollection,isCategoryHeaderEnabled:(0,g.h7)(e),canSeeMoreButton:(0,g.tJ)(e,t.canSee),layoutOptions:{showArrows:(0,En.EH)({state:e,key:`style.booleans.${h.key}`,fallback:h.defaultValue}),arrowsSize:(0,En.EH)({state:e,key:`style.numbers.${f.key}`,fallback:f.defaultValue}),autoSlide:(0,En.EH)({state:e,key:`style.booleans.${v.key}`,fallback:v.defaultValue}),pauseTime:(0,En.EH)({state:e,key:`style.numbers.${y.key}`,fallback:y.defaultValue}),arrowsPosition:(0,En.EH)({state:e,key:`style.numbers.${b.key}`,fallback:b.defaultValue}),arrowsColor:(0,En.EH)({state:e,key:`style.colors.${E.key}`,fallback:E.defaultValue}),loop:(0,En.EH)({state:e,key:`style.booleans.${C.key}`,fallback:C.defaultValue})}}})),jc=(0,A.flowRight)(ku,ze.A,vc(m.vx),(0,ee.A)(),de.A,(0,ce.C)(),Uc)(Fc);function Gc(e,t){return(0,s.d4)((n=>{const o=(0,oc.$A)(n,e),r=o===fc.ti.MultiplePages,i=r?Number(t??(0,oc.p$)(n,"posts")):(0,oc.sr)(n,"posts"),a=(0,oc.LX)(n,e),s=(0,oc.Vf)(n,"posts"),l=No(s,a);return{paginationType:o,page:i,pageSize:a,lastPage:l,isValidPage:1===i||i>1&&i<=l,entityCount:s,showPagination:r}}))}var Wc=n(79862),Hc=n(89799);const zc=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 19"},e),a().createElement("path",{d:"M11.496 9.7l-5.43 5.176a.208.208 0 0 0 0 .304l.48.457a.234.234 0 0 0 .319 0l6.069-5.785a.21.21 0 0 0 0-.304l-6.07-5.785a.234.234 0 0 0-.319 0l-.479.457a.208.208 0 0 0 0 .304l5.43 5.176z"})),Vc="pA5zEx",Jc="pCwu60",Zc="bDY8vo",Kc="r8jqp0",$c="CsBZWG",qc="IM8lAo",Yc="t_gxYl",Xc="Dx7Mw7",Qc="HuGN_e",ed="YSHEnd",td="FVZjgU",nd="grmtk_",od="k5QnMY",rd="b5cuHs",id="Q3CjbN",ad="p165aB",sd="ZUwECn",ld="w9PuUH",ud="nsHR1e";class cd extends a().Component{constructor(){super(...arguments),ue()(this,"state",{hover:!1,isReadyForAnimations:!1}),ue()(this,"handleMouseEnter",(()=>this.setState({hover:!0}))),ue()(this,"handleMouseLeave",(()=>this.setState({hover:!1}))),ue()(this,"hoverHandler",{onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave}),ue()(this,"renderLink",((e,t)=>{const{link:n}=this.props;return a().createElement(H.A,r()({className:d()(this.state.hover&&Jc,t),addHoverClasses:!1,to:n.to},this.hoverHandler),e)})),ue()(this,"renderTitle",(()=>{const{title:e,titleFontClassName:t}=this.props,n=d()(Qc,"blog-text-color",this.state.hover&&"blog-link-color");return a().createElement("div",{className:d()(od,t)},this.renderLink(a().createElement("h1",{className:n},e)))})),ue()(this,"renderAction",(()=>{const{link:e,contentFontClassName:t}=this.props,n=d()(Xc,"blog-text-color","blog-icon-fill",this.state.hover&&["blog-link-color","blog-link-fill"]);return a().createElement("div",{className:d()(rd,t)},this.renderLink(a().createElement("span",{className:n},e.text,a().createElement(zc,{className:ed}))))})),ue()(this,"renderDivider",(()=>a().createElement("div",{className:d()(id,"blog-text-background-color")}))),ue()(this,"renderOverlay",(()=>a().createElement("div",{className:d()(qc,"blog-link-background-color")}))),ue()(this,"renderCategory",(()=>{if(!this.props.category)return null;const{category:e,contentFontClassName:t}=this.props;return a().createElement("div",{className:d()($c,t)},a().createElement("div",{className:sd},a().createElement("div",{className:ld},a().createElement("p",{className:d()(Yc,"blog-button-primary-text-color")},e)),a().createElement("div",{className:ud},a().createElement("div",{className:d()(Kc,"blog-button-primary-text-background-color")}))))})),ue()(this,"renderImage",(()=>this.renderLink(a().createElement("div",{className:ad},a().createElement(Hc._,{className:Zc,image:this.props.image}),this.renderOverlay(),this.renderCategory()))))}componentDidMount(){this.setState({isReadyForAnimations:!0})}render(){const e=d()(td,this.state.isReadyForAnimations&&Vc,"blog-card-background-color");return a().createElement("div",{className:e},a().createElement("div",{className:nd},this.renderTitle(),this.renderAction(),this.renderDivider()),this.renderImage())}}const dd=(0,$e.A)(cd),pd="EX6A7O",md="onZP9b",hd="UUxi80",gd="RJzprR",fd="IbjI2_";class vd extends a().Component{constructor(){super(...arguments),ue()(this,"renderTitle",(()=>{const{title:e,link:t,titleFontClassName:n}=this.props;return a().createElement("div",{className:d()(gd,n)},a().createElement(H.A,{to:t.to},a().createElement("h1",{className:d()(fd,"blog-text-color")},e)))})),ue()(this,"renderImage",(()=>{const{link:e,image:t}=this.props;return a().createElement("div",{className:pd},a().createElement(H.A,{className:md,to:e.to},a().createElement(Hc._,{className:hd,image:t})))})),ue()(this,"render",(()=>a().createElement("div",{className:"blog-card-background-color"},this.renderImage(),this.renderTitle())))}}const yd=(0,$e.A)(vd),bd=(0,u.A)(yd,dd),Ed=e=>e.lastFeaturedPost,Ad=e=>Ed(e)&&(0,D.p7)(e,Ed(e).categoryIds[0]),Cd="t7xIqE";class Sd extends a().Component{render(){const{lastFeaturedPost:e,lastFeaturedPostCategory:t,t:n}=this.props;if(!e)return null;const o=t&&t.label,r={to:`/${e.slug}`,text:n("banner.read-more-label")},{shouldRender:i,imageMetadata:s}=(0,Wc.Al)(e),l=i?s:null;return a().createElement("div",{className:Cd},a().createElement(bd,{title:e.title,category:o,link:r,image:l}))}}const wd=(0,A.flowRight)((0,s.Ng)((e=>({lastFeaturedPost:Ed(e),lastFeaturedPostCategory:Ad(e)}))),Ve.A)(Sd),Od=e=>{const{t}=(0,me.B)(),n=(0,s.d4)((e=>({isMultilingual:Boolean((0,R.ll)(e)),isEditor:(0,U.sb)(e),unifyEmptyStatesExperimentEnabled:(0,Ao.b)(e,Ue.Nv)}))),o=n.isMultilingual?t("no-posts-feed.no-published-posts-multilingual"):n.unifyEmptyStatesExperimentEnabled&&n.isEditor?t("no-posts-feed.no-posts-to-show"):t("no-posts-feed.on-the-way"),i=n.unifyEmptyStatesExperimentEnabled&&n.isEditor?t("no-posts-feed.publish-posts-to-see-them"):t("no-posts-feed.stay-tuned");return a().createElement(_n,r()({},e,{title:o,content:i}))};var Nd=n(27956);const Pd=e=>{let{isBlocked:t,params:n}=e;const o=Gc(m.ti,n.page),{PostListProGallery:r}=(0,i.useContext)(Du.a),l=(0,Ru.A)(),u=function(e){const t=Gc(m.ti,e),{canSee:n}=(0,Nd.A)(),o=(0,s.d4)((e=>{const o=(0,X.UR)(e,t.page),r=(0,U.Ny)(e)&&Je(e,n),{feedSliderShowArrows:i,feedSliderArrowsSize:a,feedSliderAutoSlide:s,feedSliderPauseTime:l,feedSliderArrowsPosition:u,feedSliderArrowsColor:c,feedSliderLoop:d}=Lc.mS;return{canSeeMoreButton:(0,g.tJ)(e,n),currentPagePosts:o,isEditor:(0,U.sb)(e),isLoaded:$u(e),isLoading:ao(e),posts:(0,X.Wz)(e),showCreatePostAction:r,layoutOptions:{showArrows:(0,En.EH)({state:e,key:`style.booleans.${i.key}`,fallback:i.defaultValue}),arrowsSize:(0,En.EH)({state:e,key:`style.numbers.${a.key}`,fallback:a.defaultValue}),autoSlide:(0,En.EH)({state:e,key:`style.booleans.${s.key}`,fallback:s.defaultValue}),pauseTime:(0,En.EH)({state:e,key:`style.numbers.${l.key}`,fallback:l.defaultValue}),arrowsPosition:(0,En.EH)({state:e,key:`style.numbers.${u.key}`,fallback:u.defaultValue}),arrowsColor:(0,En.EH)({state:e,key:`style.colors.${c.key}`,fallback:c.defaultValue}),loop:(0,En.EH)({state:e,key:`style.booleans.${d.key}`,fallback:d.defaultValue})}}}));return o}(n.page),c=function(e,t){const n=(0,s.d4)((e=>(0,Gu.bh)(e))),o=Gc(m.ti,t),r=(0,i.useRef)(o.pageSize),{fetchFeedPostsWithAdapterPromisified:a}=(0,s.dN)(),l=(0,i.useRef)(n),u=(0,i.useCallback)((function(t){if(void 0===t&&(t=o.page),!e)return a({page:t,includeContent:l.current})}),[o.page,e,a]),c=(0,i.useCallback)((e=>u(e)),[u]),d=(0,i.useCallback)((()=>u(o.page)),[o.page,u]);return(0,i.useEffect)((()=>{r.current!==o.pageSize&&(r.current=o.pageSize,l.current=n,u())}),[u,o.pageSize,n]),{loadMore:c,loadRest:d,fetchFeedPosts:u}}(t,n.page);return u.isLoaded&&!u.posts.length?a().createElement(Od,null):l.layoutType&&(0,Q.Ge)(l.layoutType)?a().createElement(r,{pageStart:o.page+1,entityCount:o.entityCount,loadMore:o.showPagination?void 0:c.loadMore,allPosts:o.showPagination||u.isEditor?u.currentPagePosts:u.posts,currentPagePosts:u.currentPagePosts,isLoading:u.isLoading,showCreatePostAction:u.showCreatePostAction,canSeeMoreButton:u.canSeeMoreButton,layoutOptions:u.layoutOptions,section:m.ti}):a().createElement(gc,{pageStart:o.page+1,entityCount:o.entityCount,page:o.page,pageSize:o.pageSize,loadRest:o.showPagination?c.loadRest:void 0,loadMore:o.showPagination?void 0:c.loadMore,allPosts:o.showPagination||u.isEditor?u.currentPagePosts:u.posts,currentPagePosts:u.currentPagePosts,isLoading:u.isLoading,showCreatePostAction:u.showCreatePostAction})},Ld=e=>{const t=Gc(m.ti,e.params.page),n=(0,s.d4)(g.yd),o=(0,s.d4)($u),r=(0,s.d4)(U.IC),i=(0,s.d4)(Xt.Do);return a().createElement(Rn,{noSpacing:!0},n&&a().createElement(wd,null),a().createElement(Xn,{isLoading:!o},a().createElement(Pd,e)),a().createElement("div",{"data-hook":"feed-pagination-container",style:{display:t.showPagination?"block":"none"}},a().createElement(ju,{page:t.page,pageSize:t.pageSize,entityCount:t.entityCount,createPageUrl:e=>Oo(e,i),handleNavigation:zu("/",r),showPagination:t.showPagination})),o&&a().createElement(mn,null))},Id=(e,t)=>`${e}/hashtags/${t}`,Td=hn;class _d extends i.Component{constructor(){super(...arguments),ue()(this,"loadMore",(e=>this.fetchPosts(this.props.hashtag,e)))}componentWillUnmount(){this.props.setIsLoaded("hashtag-posts",null,!0)}componentDidUpdate(e){let{isAuthenticated:t,isBlocked:n,pageSize:o,excludeContent:r}=e;const{hashtag:i}=this.props;(this.props.isAuthenticated!==t||this.props.isBlocked!==n||this.props.pageSize!==o||r&&!this.props.excludeContent)&&this.fetchPosts(i)}fetchPosts(e,t){if(void 0===t&&(t=this.props.page),!this.props.isBlocked)return this.props.fetchHashtagPosts(e,t)}renderPosts(){const{currentPagePosts:e,allPosts:t,entityCount:n,showCreatePostAction:o,page:r,layoutType:i,showPagination:s,isHashtagLoading:l,isHashtagLoaded:u,PostListProGallery:c}=this.props;return(0,Q.Ge)(i)?a().createElement(c,{pageStart:r+1,entityCount:n,loadMore:s?void 0:this.loadMore,allPosts:s?e:t,currentPagePosts:e,isLoading:l,showCreatePostAction:o,section:m.vx}):a().createElement(gc,{pageStart:r+1,layoutType:i,entityCount:n,loadMore:s?void 0:this.loadMore,allPosts:s?e:t,currentPagePosts:e,isLoading:l,isLoaded:u,showCreatePostAction:o})}renderPagination(){const{entityCount:e,pageSize:t,page:n,hashtagUrl:o,isSite:r,showPagination:i}=this.props;return a().createElement("div",{"data-hook":"hashtag-pagination-container",style:{display:i?"block":"none"}},a().createElement(ju,{page:n,pageSize:t,entityCount:e,createPageUrl:e=>Oo(e,o),handleNavigation:zu("hashtag",r),showPagination:i}))}render(){const{allPosts:e,isHashtagLoading:t,isHashtagLoaded:n}=this.props,o=t&&!n;return a().createElement(Rn,{noSpacing:!0},a().createElement(Td,null,a().createElement(Xn,{isLoading:o&&!e.length},this.renderPosts()),!o&&this.renderPagination(),n&&a().createElement(mn,null)))}}const xd=(0,A.flowRight)(ze.A,ku,vc(m.vx),(0,ee.A)(),de.A,Ve.A,(0,s.Ng)(((e,t,n)=>{const o=(0,A.get)(t,["params","hashtag"]),r=(0,Xt.Do)(e),i=(0,U.Ny)(e)&&Je(e,t.canSee);return{hashtag:o,hashtagUrl:Id(r,o),allPosts:o?(0,X.bl)(e):[],currentPagePosts:o?(0,X.Ok)(e,t.page):[],isHashtagLoading:uo(e),isHashtagLoaded:Yu(e),isSite:(0,U.IC)(e),showCreatePostAction:i,excludeContent:(0,Gu.wq)(e),setIsLoaded:n.setIsLoaded,fetchHashtagPosts:(t,o)=>n.fetchHashtagPostsWithAdapterPromisified({page:o,includeContent:(0,Gu.bh)(e),hashtagOptions:{hashtag:t}})}})))(_d);const Dd=(0,n(45967).Mz)([e=>e.tags??[],(e,t)=>t],((e,t)=>(0,A.find)(e,(e=>e.slug===t))));var kd=n(19767);const Rd=hn;class Md extends i.Component{constructor(){super(...arguments),ue()(this,"state",{nextPage:1}),ue()(this,"loadMore",(e=>this.fetchPosts(this.props.tagId,e))),ue()(this,"loadRest",(()=>this.fetchPosts(this.props.tagId,this.props.page))),ue()(this,"createPageUrl",(e=>Oo(e,this.props.tagUrl)))}componentWillUnmount(){this.props.setIsLoaded("tag",this.props.tagId,!1)}componentDidUpdate(e){let{isAuthenticated:t,isBlocked:n,pageSize:o,excludeContent:r,tagId:i}=e;const{tagId:a}=this.props;i!==a&&this.setState({nextPage:2}),(this.props.isAuthenticated!==t||this.props.isBlocked!==n||this.props.pageSize!==o||r&&!this.props.excludeContent)&&this.fetchPosts(a)}fetchPosts(e,t){if(void 0===t&&(t=this.props.page),!this.props.isBlocked&&e)return this.props.fetchTagPosts({tagId:e,page:t})}renderPosts(){const{currentPagePosts:e,allPosts:t,entityCount:n,isTagLoaded:o,isTagLoading:r,showCreatePostAction:i,layoutType:s,showPagination:l,PostListProGallery:u,canSeeMoreButton:c,page:d,pageSize:p}=this.props;return(0,Q.Ge)(s)?a().createElement(u,{pageStart:this.state.nextPage,entityCount:n,loadMore:l?void 0:this.loadMore,allPosts:l?e:t,currentPagePosts:e,isLoading:r&&!o,showCreatePostAction:i,canSeeMoreButton:c,section:m.vx}):a().createElement(gc,{pageStart:this.state.nextPage,layoutType:s,entityCount:n,page:d,pageSize:p,loadRest:l?this.loadRest:void 0,loadMore:l?void 0:this.loadMore,allPosts:l?e:t,currentPagePosts:e,isLoading:r&&!o,isLoaded:o,showCreatePostAction:i})}renderPagination(){const{entityCount:e,pageSize:t,page:n,isSite:o,tagPath:r,showPagination:i}=this.props;return a().createElement("div",{"data-hook":"tags-pagination-container",style:{display:i?"block":"none"}},a().createElement(ju,{page:n,pageSize:t,entityCount:e,createPageUrl:this.createPageUrl,handleNavigation:zu(r,o),showPagination:i}))}render(){const{isTagLoaded:e,isTagLoading:t}=this.props,n=t&&!e;return a().createElement(Rn,{noSpacing:!0},a().createElement(Rd,null,a().createElement(Xn,{isLoading:n},this.renderPosts()),!n&&this.renderPagination(),e&&a().createElement(mn,null)))}}const Bd=(0,s.Ng)(((e,t,n)=>{const o=(0,A.get)(t,["params","tagSlug"]),r=Dd(e,o),i=null==r?void 0:r.id,a=(0,Xt.Do)(e),s=(0,kd.E)(a,o),l=(0,U.Ny)(e)&&Je(e,t.canSee);return{tagId:i,tagPath:"tags",tagUrl:s,allPosts:i?(0,X.zH)(e,i):[],currentPagePosts:i?(0,X.gy)(e,i,t.page):[],isTagLoading:io(e,i),isTagLoaded:Ku(e,i),isSite:(0,U.IC)(e),showCreatePostAction:l,excludeContent:(0,Gu.wq)(e),setIsLoaded:n.setIsLoaded,fetchTagPosts:t=>n.fetchTagPostsWithAdapterPromisified({page:t.page,includeContent:(0,Gu.bh)(e),tagOptions:{id:t.tagId}}),canSeeMoreButton:(0,g.tJ)(e,t.canSee)}})),Fd=(0,A.flowRight)(ku,ze.A,vc(m.vx),(0,ee.A)(),de.A,Ve.A,Bd)(Md),Ud=e=>t=>a().createElement(I,{main:a().createElement(e,{params:t.params}),modalRoot:a().createElement(Lu,null),messageRoot:a().createElement(Su,null),popoverRoot:a().createElement(cn.A,null),mobileHeader:a().createElement(Kt,null),mobileMenu:a().createElement($,null),desktopHeader:a().createElement(Lt,null)}),jd={[Iu.ZO]:Ud((()=>a().createElement(Rn,{noSpacing:!0,"data-hook":"not-found-page"},a().createElement(Mn,null,a().createElement(xn,null)),a().createElement(mn,null)))),[Iu.If]:Ud(un),[Iu.RZ]:Ud(jc),[Iu.DC]:Ud(jc),[Iu.tW]:Ud(xd),[Iu.tv]:Ud(Ec),[Iu.wc]:Ud(Fd),[Iu.TE]:e=>a().createElement(I,{main:a().createElement(mu,{params:e.params}),mobileHeader:a().createElement(Kn,{params:e.params}),desktopHeader:a().createElement(Un,{params:e.params})}),[Iu.Qz]:Ud(Ld)},Gd=e=>{const{route:t,params:n}=(0,s.d4)((e=>({...(0,l.tu)(e)})));if(!t||!(t in jd))throw new Error(`Route "${t}" - is not implemented`);const o=jd[t];return a().createElement(o,r()({params:n},e))}},18799:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var o=n(74740),r=n(72859);const i=e=>(0,r.Ny)(e)?o.mA:o.Zv},44736:(e,t,n)=>{"use strict";n.d(t,{n:()=>c});var o=n(16252),r=n(91053),i=n(74740),a=n(3790),s=n(51880),l=n(25927),u=n(67603);const c=e=>{let{state:t,isMobile:n}=e;const o=(0,u.EV)(t,r.no)?p(t):void 0,a=d(t)??(0,l.kK)(t);if(n&&a&&!o)return i.l3[a];let s=n&&o||a;return n&&((0,i.js)(s)||(0,i.ei)(s))&&(s=i.ql),s},d=e=>(0,o.get)((0,s.tl)(e),(0,r.qZ)(a.wj,!1)),p=e=>(0,o.get)((0,s.tl)(e),(0,r.qZ)(a.wj,!0))},7194:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(69837),l=n(76986),u=n(75808),c=n(27342),d=n(39835),p=n(14509),m=n(92208),h=n(55902);const g=e=>{var t;let{post:n,type:o,showAuthorName:i=!0,showAuthorBadge:g=!0,showPublishDate:f=!0,showReadingTime:v=!0,className:y}=e;const b=(0,d.A)(),{applyFeedDesign:E,getPostClassName:A}=(0,c.A)(),C=a()(h.A.userName,!E&&["blog-link-hover-color",b.textColorClassName],A((0,p.hw)(o,"description-color"),"description-font","link-hashtag-hover-color"));return r().createElement("div",{className:a()([h.A.container,o?h.A[o]:void 0,y])},i&&r().createElement(s.A,{user:n.owner,className:h.A.profileLink},r().createElement(u.A,{className:C,name:(null==(t=n.owner)?void 0:t.name)??"-"}),g&&r().createElement(l.A,{user:n.owner})),(f||v)&&r().createElement(m.A,{date:n.firstPublishedDate||new Date,dateFormatted:n.firstPublishedDateFormatted||n.dateByStatus,readTime:n.timeToRead,isShortReadTimeLabel:!0,className:a()(A("description-font",(0,p.hw)(o,"description-color"))),showPublishDate:f,showReadingTime:v}))}},98532:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(7194)},92208:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(36772)},36772:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(83542),l=n(46359),u=n(88613),c=n(59072);const d=e=>{let{className:t,date:n,dateFormatted:o,readTime:i,isShortReadTimeLabel:d,showPublishDate:p,showReadingTime:m}=e;return r().createElement(u.A,{className:a()(t,c.A.container),itemClassName:c.A.item},p&&r().createElement(s.A,{className:"post-metadata__date",time:n,timeFormatted:o}),m&&r().createElement(l.A,{className:"post-metadata__readTime",minutes:i,isShortLabel:d}))}},58892:(e,t,n)=>{"use strict";n.d(t,{F:()=>u,Wq:()=>l,ZO:()=>o,gg:()=>r,ko:()=>a,mR:()=>c,qv:()=>s,tc:()=>i});const o="/404",r="/create-post",i="/:postSlug",a="/:year/:month(/:day)/:postSlug(/)",s="/:postSlug/edit",l="/:postId/preview/:instance(=*)",u="/:postSlug/edit-comment/:commentId",c="/:year/:month(/:day)/:postSlug/edit-comment/:commentId"},73676:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});const o="related-posts-widget"},37607:(e,t,n)=>{"use strict";n.d(t,{ZB:()=>c});var o=n(16252),r=n(91053),i=n(74740),a=n(3790),s=n(51880),l=n(25927),u=n(67603);n(72859);const c=e=>{let{state:t,isMobile:n}=e;const o=d(t,!1)??(0,l.kK)(t,!1),a=(0,u.EV)(t,r.no)?d(t,!0):void 0;if(n&&!a)return i.PE.List;const s=n&&a||o;return n&&((0,i.js)(s)||(0,i.ei)(s))?i.PE.PgGrid:s};function d(e,t){return(0,o.get)((0,s.tl)(e),(0,r.qZ)(a.CI,t))}},95403:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(20988)},25416:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(3717);const l=e=>a().createElement(s.A,r()({i18nKey:"comment-count.label"},e))},31127:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(25416)},33683:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});var o=n(78913);function r(){const e={};function t(t){const n=(0,o.j)(t);Object.entries(n).forEach((t=>{let[n,{payload:o,isResolved:r}]=t;const i=e[n];i&&(r?i.resolve(o):i.reject(o),delete e[n])}))}return{usePromisifiedAction:function(n,o){return t(o),function(){for(var t=arguments.length,o=new Array(t),r=0;r{const i=Date.now()+100*Math.random().toFixed(2);e[i]={resolve:t,reject:r},n(o,i)}))}},resolvePromisifiedActions:t}}},78913:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});const o=e=>e.promisifiedActionsResults||{}},19254:(e,t,n)=>{"use strict";n.d(t,{g1:()=>r,jr:()=>o});const o="create_post",r="share_post"},31809:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(66818),l=n(76986),u=n(75808),c=n(21559);const d=e=>{let{type:t=d.DEFAULT,user:n={},isImageVisible:o=!0,isNameVisible:i=!0,isBadgeVisible:p=!0}=e;const m=a()(c.A.container,"blog-text-color","blog-link-hover-color","avatar","blog-post-text-color");return r().createElement("span",{className:m},o&&r().createElement(s.A,{type:t,user:n}),i&&n.name&&r().createElement(u.A,{className:c.A.name,name:n.name}),i&&p&&r().createElement(l.A,{user:n}))},p=d},64198:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(31809)},26865:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(16252),l=n(78340),u=n(44886),c=n(16673),d=n(82200),p=n(92462),m=n(83252),h=n(5278),g=n(99163);const f={[l.ROLE_OWNER]:p.y,[l.ROLE_EDITOR]:d.i,[l.ROLE_WRITER]:m.X};class v extends a().Component{constructor(){super(...arguments),r()(this,"state",{isTooltipVisible:!1}),r()(this,"handleMouseEnter",(()=>{this.timeout=setTimeout((()=>{this.setState({isTooltipVisible:!0})}),150)})),r()(this,"handleMouseLeave",(()=>{clearTimeout(this.timeout),this.setState({isTooltipVisible:!1})})),r()(this,"render",(()=>{const{role:e,t,iconColorClassName:n,ariaLabel:o}=this.props,r=f[e];return r?a().createElement("span",{"aria-label":o,"data-hook":"badge",className:g.A.container,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},this.state.isTooltipVisible&&a().createElement(h.A,{className:g.A.tooltip},t(`badge.${e}`)),a().createElement(r,{className:n})):null}))}componentWillUnmount(){clearTimeout(this.timeout)}}const y=(0,s.flowRight)(u.A,c.A)(v)},48334:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(26865)},14917:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(60751),r=n.n(o),i=n(11859),a=n(72859),s=n(20915);class l extends r().Component{componentDidUpdate(e){const{emitBlogOpened:t,isAppLoaded:n,isSSR:o}=this.props;o||n&&!e.isAppLoaded&&t()}render(){return null}}const u=(0,s.Ng)(((e,t,n)=>({emitBlogOpened:n.emitBlogOpened,isAppLoaded:(0,i.R)(e),isSSR:(0,a.fU)(e)})))(l)},1651:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(14917)},93967:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(16252),c=n(89460),d=n(6527),p=n(72859),m=n(20915);const h="cERGdn",g="Wi_s5V",f="x7XlNO",v="XNJAa3",y="yl6xpz";class b extends i.Component{constructor(){super(...arguments),r()(this,"state",{position:{top:0,left:0}}),r()(this,"setContainer",(e=>{this.container=e}))}componentDidUpdate(e){const{isVisible:t,isSite:n}=this.props;t!==e.isVisible&&t&&(n?this.showComponent():this.showComponentInEditor())}showComponentInEditor(){if(!this.container||!this.props.target)return;const e=this.container.getBoundingClientRect(),t=this.target.getBoundingClientRect(),n=t.top-(12+e.height);let o,r=t.right-t.width/2+19-e.width;r<0&&(r=t.right-t.width/2-19,o=v),this.setState({position:{top:n,left:r},arrowPosition:o})}showComponent(){if(!this.container||!this.props.target)return;const e=this.container.getBoundingClientRect(),t=this.props.target.getBoundingClientRect(),n=document.getElementById(this.props.componentId).getBoundingClientRect(),o=t.top-n.top,r=t.right-n.left,i=t.width,a=o-(12+e.height);let s,l=r-i/2+19-e.width;l<0&&(l=r-i/2-19,s=v),this.setState({position:{top:a,left:l},arrowPosition:s})}render(){const{contentFontClassName:e,children:t,isVisible:n}=this.props,{position:o,arrowPosition:r}=this.state,i=l()(h,e,r,"blog-text-color","blog-card-border-color","blog-card-background-color"),s={visibility:n?"visible":"hidden",...o};return a().createElement(c.K,null,a().createElement("div",{className:i,style:s,ref:this.setContainer},a().createElement("div",{className:g,"data-hook":"tooltip"},t),a().createElement("div",{className:f},a().createElement("div",{className:l()(y,"blog-card-border-color","blog-card-background-color")}))))}}const E=(0,u.flowRight)(d.A,(0,m.Ng)(((e,t,n,o)=>({isSite:(0,p.IC)(e),componentId:o.id}))))(b)},73817:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(78304),r=n.n(o),i=n(85707),a=n.n(i),s=n(60751),l=n.n(s),u=n(4452),c=n.n(u),d=n(16252),p=n(6527),m=n(93967),h=n(72757);class g extends s.Component{constructor(){super(...arguments),a()(this,"state",{isTooltipVisible:!1}),a()(this,"buttonRef",(0,s.createRef)()),a()(this,"handleMouseEnter",(()=>{this.showTooltip()})),a()(this,"handleMouseLeave",(()=>{this.hideTooltip()}))}componentWillUnmount(){this.hideTooltip()}showTooltip(){clearTimeout(this.timeout),this.timeout=setTimeout((()=>{this.setState({isTooltipVisible:!0},(()=>{this.timeout=setTimeout((()=>this.hideTooltip()),3e3)}))}),200)}hideTooltip(){clearTimeout(this.timeout),this.setState({isTooltipVisible:!1})}renderTooltip(){const{isTooltipVisible:e}=this.state,{tooltipText:t}=this.props;return t?l().createElement(m.A,{target:this.buttonRef.current,isVisible:e},t):null}render(){const{component:e="button",className:t,contentFontClassName:n,isSecondary:o,isSubmit:i,isReset:a,isMuted:s,children:u,type:p,useFixedColor:m,keepFocusStyles:g,...f}=this.props,v=!o;let y;y=m?v?h.A.fixedPrimary:h.A.fixedSecondary:c()(v?"blog-button-background-color":"blog-button-border-color",v?"blog-button-primary-text-color":"blog-button-secondary-text-color");const b=c()(g&&h.A.clipboardFocusRing,h.A.button,t,n,y,p,{[h.A.secondary]:o,[h.A.isMuted]:s}),E=(0,d.omit)(f,"isSubmit","currentUser","isBlocked","isOwner","dispatch","viewMode","isDemoMode","openModal","isAuthenticated","titleFontClassName","contentFontClassNameWithStyle","metadataFontClassName","tooltipText","isPrivate","forPublicUser");return l().createElement(e,r()({className:b,type:(i?"submit":a&&"reset")||"button"},E,{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave,ref:this.buttonRef}),this.renderTooltip(),l().createElement("span",{className:h.A.wrapper},u))}}g.TYPE_FULL_WIDTH=h.A.fullWidth,g.TYPE_FULL_WIDTH_MOBILE=h.A.fullWidthMobile,g.TYPE_SMALL_SPACINGS_MOBILE=h.A.smallSpacingsMobile,g.TYPE_LARGE=h.A.large;const f=(0,p.A)(g)},9557:(e,t,n)=>{"use strict";n.d(t,{A:()=>d});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(3717),c=n(50183);const d=e=>{let{children:t,dataHook:n,tabIndex:o,...i}=e;return a().createElement("span",{className:l()(c.A.container,i.className),"data-hook":n,tabIndex:o},t,a().createElement(u.A,r()({},i,{className:c.A.count})))}},10397:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(9557)},185:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(60751),r=n.n(o),i=n(98722);const a=e=>{let{count:t=0,countFormatted:n,i18nKey:o="counter.count",className:a,showZero:s=!0,ariaHidden:l,tabIndex:u}=e;const{t:c}=(0,i.B)();return(t||s)&&r().createElement("span",{"aria-hidden":l,className:a,tabIndex:u},c(o,{count:t,numberFormatted:n}))}},3717:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(185)},16979:function(e,t){var n,o,r; /*! * Clamp.js 0.7.0 * Based on: https://github.com/xavi160/Clamp.js/commit/e313818da231b8dd8fd603dd9c9a61a9d725c22f * Mixins: * - https://github.com/josephschmitt/Clamp.js/pull/50 * - https://github.com/josephschmitt/Clamp.js/pull/49 * * Copyright 2011-2013, Joseph Schmitt http://joe.sh * Released under the WTFPL license * http://sam.zoy.org/wtfpl/ */o=[],n=function(){function e(e,t){t=t||{},e.removeAttribute("style");var n,o=window,r={clamp:t.clamp||2,useNativeClamp:void 0===t.useNativeClamp||t.useNativeClamp,useExactLineHeight:void 0!==t.useExactLineHeight&&t.useExactLineHeight,splitOnChars:t.splitOnChars||[".","-","\u2013","\u2014"," "],animate:t.animate||!1,truncationChar:t.truncationChar||"\u2026",truncationHTML:t.truncationHTML,maxLineCount:void 0!==t.maxLineCount?t.maxLineCount:9999},i=e.style,a=e.innerHTML,s=void 0!==e.style.webkitLineClamp,l=r.clamp,u=l.indexOf&&(l.indexOf("px")>-1||l.indexOf("em")>-1);function c(e,t){return o.getComputedStyle||(o.getComputedStyle=function(e,t){return this.el=e,this.getPropertyValue=function(t){var n=/(\-([a-z]){1})/g;return"float"==t&&(t="styleFloat"),n.test(t)&&(t=t.replace(n,(function(){return arguments[2].toUpperCase()}))),e.currentStyle&&e.currentStyle[t]?e.currentStyle[t]:null},this}),o.getComputedStyle(e,null).getPropertyValue(t)}function d(){const e=o.navigator?o.navigator.userAgent:"";return e.match(/iPhone/i)&&e.match(/safari/i)}function p(t,n){const o=e.clientHeight,i=o%n,a=t||o+(i/n>.9?n-i:0),s=d()?Math.ceil:Math.floor,l=Math.max(s(a/n),0);return Math.min(l,r.maxLineCount)}function m(t){return h(e)*t}function h(e){if(r.useExactLineHeight)return g(e);var t=c(e,"line-height");return"normal"==t&&(t=1.2*parseInt(c(e,"font-size"))),parseInt(t)}function g(e){var t=e.parentNode,n=(3===e.lastChild.nodeType?e:e.lastChild).cloneNode(!0);(E(n)||n).textContent=e.textContent?e.textContent.trim()[0]:" ",t.appendChild(n);var o=n.clientHeight;return t.removeChild(n),o}r.truncationHTML&&((n=document.createElement("span")).innerHTML=r.truncationHTML);var f,v,y=r.splitOnChars.slice(0),b=y[0];function E(e){if(e.lastChild){if(e.lastChild.children&&e.lastChild.children.length>0)return E(Array.prototype.slice.call(e.children).pop());if(e.lastChild&&e.lastChild.nodeValue&&""!==e.lastChild.nodeValue&&e.lastChild.nodeValue!=r.truncationChar)return e.lastChild;var t=e.lastChild;do{if(!t)return;if(3===t.nodeType&&-1===["",r.truncationChar].indexOf(t.nodeValue))return t;if(t.lastChild){var n=E(t);if(n)return n}t.parentNode.removeChild(t)}while(t=t.previousSibling)}}function A(t,o){if(t&&o){var i=t.nodeValue.replace(r.truncationChar,"");if(f||(b=y.length>0?y.shift():"",f=i.split(b)),f.length>1?(v=f.pop(),C(t,f.join(b))):f=null,n&&(t.nodeValue=t.nodeValue.replace(r.truncationChar,""),e.innerHTML=t.nodeValue+" "+n.innerHTML+r.truncationChar),f){if(e.clientHeight<=o){if(!(y.length>=0&&""!==b))return e.innerHTML;C(t,f.join(b)+b+v),f=null}}else""===b&&(C(t,""),t=E(e),a());if(!r.animate)return A(t,o);setTimeout((function(){A(t,o)}),!0===r.animate?10:r.animate)}function a(){y=r.splitOnChars.slice(0),b=y[0],f=null,v=null}}function C(e,t){e.nodeValue=t+r.truncationChar}var S,w=h(e);if("parent"===l?l=p(e.parentNode.clientHeight,w):"auto"==l?l=p(void 0,w):u&&(l=p(parseInt(l),w)),s&&r.useNativeClamp&&!d())i.overflow="hidden",i.textOverflow="ellipsis",i.webkitBoxOrient="vertical",i.display=l>0?"-webkit-box":"none",i.webkitLineClamp=l,i.maxHeight=l*w+"px",u&&(i.height=r.clamp+"px");else{var O=m(l);O{"use strict";n.d(t,{A:()=>l});var o=n(60751),r=n.n(o);let i=null;const a="undefined"!=typeof document;class s extends r().Component{constructor(e,t){super(e,t),this.anchor=null,this.focus=this.focus.bind(this),this._onBlur=this._onBlur.bind(this),this._setRoot=this._setRoot.bind(this)}contains(e){return this.root.contains(e)}focus(){!1===this.contains(document.activeElement)&&this.root.focus()}trapFocus(){clearTimeout(i),i=setTimeout(this.focus,10)}returnFocus(){this.anchor&&"object"==typeof this.anchor&&"function"==typeof this.anchor.focus&&this.anchor.focus()}componentDidMount(){a&&(this.anchor=document.activeElement),this.trapFocus(),document.addEventListener("focus",this._onBlur,!0)}componentWillUnmount(){document.removeEventListener("focus",this._onBlur,!0),clearTimeout(i),this.returnFocus(),this.anchor=null}render(){const{children:e,element:t="div",className:n}=this.props;return r().createElement(t,{ref:this._setRoot,tabIndex:0,className:n,children:e})}_setRoot(e){this.root=e}_onBlur(e){const t=this.anchor;t&&!1===t.contains(e.target)&&(e.preventDefault(),this.trapFocus())}}const l=s},79663:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(60751),r=n.n(o),i=n(88425);const a=()=>{};class s extends r().Component{constructor(e,t){super(e,t),this._onKeyUp=this._onKeyUp.bind(this)}render(){const{active:e=!0,className:t="focus-trap",children:n,element:o,onExit:s=a}=this.props;return e?r().createElement("div",{className:`${t}-wrapper`,onKeyUp:this._onKeyUp},r().createElement("div",{"aria-hidden":"true",className:`${t}-backdrop`,onClick:s}),r().createElement(i.A,{className:t,element:o},n)):null}_onKeyUp(e){"Escape"===e.key&&this.props.onExit()}}const l=s},85574:(e,t,n)=>{"use strict";n.d(t,{V:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>a().createElement("svg",r()({width:"1000",height:"1000",viewBox:"0 0 1000 1000"},e),a().createElement("circle",{cx:"500",cy:"500",r:"500",fill:"#cccccc"}),a().createElement("path",{fill:"#a0a09f",d:"M830.8,874.927c-77.344-60.8-187.181-104.877-227.88-111.347-20.335-3.233-20.8-59.1-20.8-59.1s59.746-59.106,72.768-138.584c35.029,0,56.666-84.5,21.631-114.226C677.986,420.37,721.551,206,501,206S324.015,420.37,325.473,451.666c-35.033,29.729-13.4,114.226,21.632,114.226,13.021,79.478,72.77,138.584,72.77,138.584s-0.464,55.871-20.8,59.1c-40.883,6.5-151.537,50.943-228.934,112.176C65.84,784.12,0,649.751,0,500,0,223.858,223.858,0,500,0s500,223.858,500,500C1000,649.3,934.559,783.311,830.8,874.927ZM500,1000h0Z"}))},23270:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>{let{title:t,...n}=e;return a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},n),a().createElement("title",null,t),a().createElement("path",{d:"M9.5,13 L15,13 C15.5522847,13 16,12.5522847 16,12 L16,12 L16,5 C16,4.44771525 15.5522847,4 15,4 L15,4 L4,4 L4,4 C3.44771525,4 3,4.44771525 3,5 L3,12 C3,12.5522847 3.44771525,13 4,13 L7,13 L7,15.5 L9.5,13 Z M15.0081158,13.973325 L10,13.973325 L7.42191625,16.5445317 C6.63661359,17.3277395 6,17.0667904 6,15.9700713 L6,13.973325 L3.99188419,13.973325 C2.89179693,13.973325 2,13.0706688 2,11.979044 L2,4.994281 C2,3.89287002 2.89339733,3 3.99188419,3 L15.0081158,3 C16.1082031,3 17,3.90265618 17,4.994281 L17,11.979044 C17,13.0804549 16.1066027,13.973325 15.0081158,13.973325 Z"}))}},82200:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",height:"19",viewBox:"0 0 19 19",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"M3.0299,4.05263158 C7.59702941,1.31578947 11.4029706,1.31578947 15.9701,4.05263158 C16.0788412,11 16.2419529,14.3157895 9.5,17 C2.75804706,14.3157895 2.92115882,11 3.0299,4.05263158 Z M9.39332888,11.2792808 C9.45851262,11.2381732 9.54151575,11.2381732 9.60669949,11.2792808 L11.6016734,12.5373957 C11.7030093,12.6013024 11.8276546,12.6164227 11.9413311,12.5785984 C12.1509459,12.508852 12.2643317,12.2823849 12.1945852,12.07277 L11.4749606,9.91002155 L13.4066196,8.57961581 C13.5127893,8.50649273 13.5772092,8.38668249 13.5796591,8.25779106 C13.5838574,8.03691706 13.408207,7.85445994 13.1873329,7.85026169 L10.7205982,7.80337534 L9.87345622,5.59604095 C9.83283079,5.4901863 9.74919031,5.40654582 9.64333566,5.36592038 C9.43708931,5.28676612 9.20572641,5.38979461 9.12657215,5.59604095 L8.27943019,7.80337534 L5.81269542,7.85026169 C5.68380399,7.85271159 5.56399375,7.91713145 5.49087067,8.02330121 C5.36556375,8.20523836 5.41147163,8.45430889 5.59340879,8.57961581 L7.52506779,9.91002155 L6.80544312,12.07277 C6.76761883,12.1864466 6.78273912,12.3110919 6.84664582,12.4124278 C6.96448715,12.599287 7.21149576,12.655237 7.39835499,12.5373957 L9.39332888,11.2792808 Z"}))},60392:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M9.44985848,15.5291774 C9.43911371,15.5362849 9.42782916,15.5449227 9.41715267,15.5553324 L9.44985848,15.5291774 Z M9.44985848,15.5291774 L9.49370677,15.4941118 C9.15422701,15.7147757 10.2318883,15.0314406 10.7297038,14.6971183 C11.5633567,14.1372547 12.3827081,13.5410755 13.1475707,12.9201001 C14.3829188,11.9171478 15.3570936,10.9445466 15.9707237,10.0482572 C16.0768097,9.89330422 16.1713564,9.74160032 16.2509104,9.59910798 C17.0201658,8.17755699 17.2088969,6.78363112 16.7499013,5.65913129 C16.4604017,4.81092573 15.7231445,4.11008901 14.7401472,3.70936139 C13.1379564,3.11266008 11.0475663,3.84092251 9.89976068,5.36430396 L9.50799408,5.8842613 L9.10670536,5.37161711 C7.94954806,3.89335486 6.00516066,3.14638251 4.31830373,3.71958508 C3.36517186,4.00646284 2.65439601,4.72068063 2.23964629,5.77358234 C1.79050315,6.87166888 1.98214559,8.26476279 2.74015555,9.58185512 C2.94777753,9.93163559 3.23221417,10.3090129 3.5869453,10.7089994 C4.17752179,11.3749196 4.94653811,12.0862394 5.85617417,12.8273544 C7.11233096,13.8507929 9.65858244,15.6292133 9.58280954,15.555334 C9.53938013,15.5129899 9.48608859,15.5 9.50042471,15.5 C9.5105974,15.5 9.48275828,15.5074148 9.44985848,15.5291774 Z"}))},18666:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=(0,n(22591).A)((e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M2.44398805,5.99973295 C1.62345525,5.9690612 0.980075653,5.28418875 1.00047182,4.46312144 C1.02086799,3.64205413 1.69745853,2.98998831 2.51850166,3.0001164 C3.33954478,3.01024449 3.99985313,3.67880182 4,4.50012255 C3.98424812,5.34399206 3.28763905,6.0153508 2.44398805,5.99973295 L2.44398805,5.99973295 Z M2.44398805,10.9997329 C1.62345525,10.9690612 0.980075653,10.2841888 1.00047182,9.46312144 C1.02086799,8.64205413 1.69745853,7.98998831 2.51850166,8.0001164 C3.33954478,8.01024449 3.99985313,8.67880182 4,9.50012255 C3.98424812,10.3439921 3.28763905,11.0153508 2.44398805,10.9997329 L2.44398805,10.9997329 Z M2.44398805,15.9997329 C1.62345525,15.9690612 0.980075653,15.2841888 1.00047182,14.4631214 C1.02086799,13.6420541 1.69745853,12.9899883 2.51850166,13.0001164 C3.33954478,13.0102445 3.99985313,13.6788018 4,14.5001225 C3.98424812,15.3439921 3.28763905,16.0153508 2.44398805,15.9997329 L2.44398805,15.9997329 Z"}))),(e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),a().createElement("path",{d:"M2.44398805,5.99973295 C1.62345525,5.9690612 0.980075653,5.28418875 1.00047182,4.46312144 C1.02086799,3.64205413 1.69745853,2.98998831 2.51850166,3.0001164 C3.33954478,3.01024449 3.99985313,3.67880182 4,4.50012255 C3.98424812,5.34399206 3.28763905,6.0153508 2.44398805,5.99973295 L2.44398805,5.99973295 Z M2.44398805,10.9997329 C1.62345525,10.9690612 0.980075653,10.2841888 1.00047182,9.46312144 C1.02086799,8.64205413 1.69745853,7.98998831 2.51850166,8.0001164 C3.33954478,8.01024449 3.99985313,8.67880182 4,9.50012255 C3.98424812,10.3439921 3.28763905,11.0153508 2.44398805,10.9997329 L2.44398805,10.9997329 Z M2.44398805,15.9997329 C1.62345525,15.9690612 0.980075653,15.2841888 1.00047182,14.4631214 C1.02086799,13.6420541 1.69745853,12.9899883 2.51850166,13.0001164 C3.33954478,13.0102445 3.99985313,13.6788018 4,14.5001225 C3.98424812,15.3439921 3.28763905,16.0153508 2.44398805,15.9997329 L2.44398805,15.9997329 Z",transform:"translate(9.582843, 9.542641) scale(-1, 1) translate(-9.582843, -9.542641) "}))))},92462:(e,t,n)=>{"use strict";n.d(t,{y:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"M15.3812,6.495914 L12.6789333,8.77258837 C12.6191333,8.84477644 12.5099333,8.85722265 12.4354,8.79997005 C12.4215333,8.79001308 12.4094,8.77756686 12.3998667,8.76429089 L9.78686667,6.14327115 C9.67766667,5.99225704 9.46186667,5.95491839 9.305,6.05863687 C9.26946667,6.08186981 9.23913333,6.11091099 9.21573333,6.14493065 L6.60013333,8.81075677 C6.5464,8.88626383 6.43893333,8.90534803 6.3592,8.85390366 C6.34446667,8.84394669 6.33146667,8.83233022 6.32106667,8.81905425 L3.61966667,6.50587098 C3.5018,6.36149485 3.28426667,6.33577266 3.13346667,6.44861837 C3.0494,6.51167921 3,6.60792997 3,6.70998895 L4,14 L15,14 L16,6.70169148 C16,6.51831719 15.8448667,6.36979232 15.6533333,6.36979232 C15.5476,6.36979232 15.4470667,6.41625821 15.3812,6.495914 Z"}))},53292:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img",style:{fillRule:"nonzero"}},e),a().createElement("path",{d:"M7 14.33l3-2.933 3 2.934V3.978H7v10.353zM7 3h6a.99.99 0 0 1 1 .978v11.533c0 .27-.224.489-.5.489a.506.506 0 0 1-.354-.143L10 12.78l-3.146 3.077a.508.508 0 0 1-.708 0A.484.484 0 0 1 6 15.51V3.978A.99.99 0 0 1 7 3z"}))},44773:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"11",viewBox:"0 0 445 445",style:{fillRule:"evenodd",clipRule:"evenodd"}},e),a().createElement("polygon",{points:"427.4,199.7 245.3,199.7 245.3,17.6 199.7,17.6 199.7,199.7 17.6,199.7 17.6,245.3 199.7,245.3 199.7,427.4 245.3,427.4 245.3,245.3 427.4,245.3"}))},61904:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>{let{title:t,...n}=e;return a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},n),a().createElement("title",null,t),a().createElement("path",{d:"M18.6514224,10.4604595 C17.3924224,11.9688254 13.9774224,15.4790227 9.46342244,15.5 L9.42442244,15.5 C6.26242244,15.5 3.20842244,13.7938483 0.345422443,10.4264963 C-0.115140814,9.88163847 -0.115140814,9.08439833 0.345422443,8.5395405 C1.60442244,7.03117456 5.01942244,3.52097727 9.53342244,3.5 L9.57342244,3.5 C12.7354224,3.5 15.7894224,5.20615167 18.6524224,8.5735037 C19.1122856,9.11875503 19.1118633,9.91569484 18.6514224,10.4604595 Z M17.8674224,9.2228003 C15.2084224,6.09518855 12.4194224,4.50990594 9.57442244,4.50990594 L9.54042244,4.50990594 C5.46142244,4.52888537 2.30642244,7.78335969 1.14042244,9.18084575 C0.991393136,9.3517953 0.988008897,9.60533857 1.13242244,9.78019645 C3.79142244,12.9078082 6.58142244,14.4920919 9.42542244,14.4920919 L9.46042244,14.4920919 C13.5394224,14.4741114 16.6934224,11.2196371 17.8604224,9.822151 C18.0095734,9.6511131 18.0125381,9.39726759 17.8674224,9.2228003 L17.8674224,9.2228003 Z M9.49942244,13.3932823 C7.35251405,13.3646853 5.63255349,11.6080263 5.65157552,9.46333471 C5.67059754,7.31864313 7.42144652,5.59270141 9.56852513,5.6021069 C11.7156037,5.61151239 13.4512316,7.35272696 13.4514224,9.49750271 C13.4349115,11.6625186 11.6668124,13.4054651 9.49942244,13.3932823 L9.49942244,13.3932823 Z M9.49942244,6.61762258 C7.91092198,6.63961751 6.63891624,7.93990193 6.65354481,9.52676854 C6.66817338,11.1136351 7.96393479,12.3902997 9.55257137,12.3830695 C11.1412079,12.3758393 12.4252698,11.0874333 12.4254224,9.50049946 C12.4127657,7.89797688 11.1037033,6.60820738 9.49942244,6.61762258 L9.49942244,6.61762258 Z"}))}},83252:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i);const s=e=>a().createElement("svg",r()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",style:{fillRule:"evenodd"}},e),a().createElement("path",{d:"M6.45342775,7.90809427 C6.47137986,7.67117444 6.68963973,5.87674187 8.37808299,4.90340332 C8.41115266,5.58764834 8.60768103,6.30696092 8.92231539,6.73461406 C8.84483786,6.6302667 9.46560296,3.27490017 11.0397196,2.66934333 C11.3288431,2.55815351 12.4683297,2.18523997 13.0900396,2.03128484 C13.7117496,1.87647441 14.1917323,2.33662919 13.9243403,2.52821779 C13.1845244,3.0602183 12.4730539,4.28587219 12.2406213,4.77168616 C12.0412584,5.18822031 11.627415,6.07773884 11.1776674,7.44451827 C10.9017718,8.28186312 9.66213133,9.06617897 8.89396996,9.20901512 C9.40607754,9.70765868 10.5597369,9.42626292 10.5474538,9.45790925 C9.40607754,12.5943174 8.43571871,13.3401444 8.08140074,13.6309486 C7.9169972,13.7669423 7.72613791,13.8926723 7.57779679,14.0320872 C7.49748471,14.1056436 7.47386352,14.1980166 7.43984899,14.2792707 C7.27355575,14.6735669 6.94852806,15.5810469 6.46571077,17 L6.15580065,16.7605142 C6.3853987,15.1525384 6.44397927,14.5478369 6.48649743,14.313483 C6.51106347,14.1800552 6.4505932,14.1056436 6.35610841,14.0380744 C5.91108504,13.721611 5.59361613,13.3521187 5.36401808,12.9458482 C5.16371032,12.5934621 5.05977705,12.2119955 5.01820374,11.816844 C4.97096134,11.3643869 5.0115898,10.889692 5.18827637,10.4201288 C5.29315449,10.1430096 5.42637805,9.82911217 5.68432153,9.36125964 C5.92147836,10.2165659 6.64806642,10.3226239 6.65562521,10.3209133 C6.58759615,10.1122186 6.33721145,9.42711822 6.45342775,7.90809427"}))},84468:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(93965)},93965:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(16252),l=n(68701),u=n(16673),c=n(98337),d=n(2523),p=n(3717),m=n(14595),h=n(20915),g=n(73827);const f=(0,s.flowRight)((0,h.Ng)(((e,t)=>{let{entity:n}=t;return{likeCount:(0,d.D_)(e,(0,l.S)(n)),likeCountFormatted:(0,d.Lv)(e,(0,l.S)(n)),isLikeInProgress:(0,d.Gu)(e,(0,l.S)(n)),isLiked:(0,d.Uf)(e,(0,l.S)(n))}})),u.A)((e=>{let{t,className:n,onClick:o,showZero:i=!1,switchCounterAndButton:s=!1,likeCount:l,likeCountFormatted:u,isLiked:d,isLikeInProgress:h}=e;const f=(0,c.P)({t,likeCount:l,isLiked:d}),v=h?"polite":"off";return r().createElement("button",{className:a()(g.A.button,n),onClick:o},r().createElement("span",{"aria-live":v,className:g.A.srOnly},f),r().createElement("span",{className:a()(g.A.flexContainer,s&&g.A.switchCounterAndButton),"data-hook":"like-button-with-count__like-count"},r().createElement(p.A,{className:a()(g.A.count,"like-button-with-count__like-count"),count:l,countFormatted:u,showZero:i,ariaHidden:!0}),r().createElement(m.A,{isLiked:d,isDisabled:h})))}))},14595:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(19277)},19277:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(60392),c=n(42815);class d extends i.Component{constructor(e){super(e),r()(this,"state",{isAnimationEnabled:!1}),this.handleAnimation=this.handleAnimation.bind(this)}handleAnimation(e){if(this.props.isDisabled)return e.stopPropagation(),void e.preventDefault();this.props.isLiked||this.setState({isAnimationEnabled:!0})}render(){const{isLiked:e}=this.props,{isAnimationEnabled:t}=this.state;return a().createElement("span",{onClick:this.handleAnimation,className:l()("like-button",c.A.heart,{[c.A.active]:e},{[c.A.isAnimationEnabled]:t}),"data-hook":"like-button"},a().createElement("span",{className:l()(c.A.pos1)},a().createElement("span",{className:l()(c.A.heartSparkle)})),a().createElement("span",{className:l()(c.A.pos2)},a().createElement("span",{className:l()(c.A.heartSparkle)})),a().createElement("span",{className:l()(c.A.pos3)},a().createElement("span",{className:l()(c.A.heartSparkle)})),a().createElement("span",{className:l()(c.A.pos4)},a().createElement("span",{className:l()(c.A.heartSparkle)})),a().createElement("span",{className:l()(c.A.heartRing)}),a().createElement(u.p,{className:c.A.heartBody}))}}const p=d},10471:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(79131)},79131:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(60751),r=n.n(o),i=n(16252);const a=e=>{let{containerClassName:t,itemClassName:n,separatorClassName:o=n,children:a,separator:s=null}=e;const l=(0,i.map)(r().Children.toArray(a),((e,t,i)=>{const a=[r().createElement("li",{key:e.key,className:n},e)];return t{"use strict";n.d(t,{A:()=>o.A});var o=n(77853)},77853:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(83587);const l=e=>{let{bubbleClassName:t="blog-text-background-color",dataHook:n}=e;return r().createElement("div",{className:s.A.container,"data-hook":n},r().createElement("span",{className:a()(s.A.dot,t)}),r().createElement("span",{className:a()(s.A.dot,t)}),r().createElement("span",{className:a()(s.A.dot,t)}))}},79881:(e,t,n)=>{"use strict";n.d(t,{B9:()=>d,Cz:()=>C,DL:()=>y,Gf:()=>g,H9:()=>h,JB:()=>f,JH:()=>i,JK:()=>p,MC:()=>x,ML:()=>H,NJ:()=>u,Ox:()=>B,Pv:()=>a,Q2:()=>_,SE:()=>S,V5:()=>E,Vy:()=>M,W4:()=>L,WF:()=>O,ZC:()=>J,ZI:()=>v,_R:()=>G,bC:()=>T,dC:()=>b,dX:()=>l,dl:()=>W,e:()=>s,e_:()=>k,fn:()=>F,gE:()=>r,gW:()=>P,g_:()=>c,gm:()=>V,i7:()=>U,if:()=>j,j7:()=>m,kw:()=>o,mZ:()=>N,nx:()=>D,sT:()=>z,ur:()=>R,vD:()=>w,xA:()=>I,yT:()=>A});const o="post-restore",r="post-move-to-trash",i="post-delete",a="post-delete-another-writer-editing-error",s="post-subscribe",l="post-unsubscribe",u="post-enable-commenting",c="post-disable-commenting",d="post-publish",p="post-update",m="post-reverted-to-draft",h="post-changes-discarded",g="post-changes-not-published",f="not-published-blog-post-publish",v="post-move",y="post-category-change",b="post-duplicate",E="post-pin",A="post-unpin",C="post-submit-for-moderation",S="post-updated-in-moderation",w="draft-move-to-trash",O="draft-delete",N="draft-duplicate",P="comment-update",L="comment-delete",I="require-post-fields",T="require-category-fields",_="member-promote-moderator",x="member-demote-moderator",D="member-block",k="member-unblock",R="category-create",M="category-delete",B="category-subscribed",F="category-unsubscribed",U="require-profile-fields",j="profile-update",G="profile-update-failed",W="user-subscribe",H="user-unsubscribe",z="settings-updated",V="logo-saved",J="technical-issue"},77445:(e,t,n)=>{"use strict";n.d(t,{e:()=>o.A});var o=n(89185)},89185:(e,t,n)=>{"use strict";n.d(t,{A:()=>C});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(16252),c=n(83202),d=n.n(c),p=n(6527),m=n(44886),h=n(16673),g=n(72859),f=n(79663),v=n(18666),y=n(40405),b=n(20915),E=n(34483);class A extends i.Component{constructor(){super(...arguments),r()(this,"component",null),r()(this,"state",{isVisible:!1}),r()(this,"handleClick",(e=>{e.stopPropagation(),this.state.isVisible?this.hideComponent():this.showComponent()})),r()(this,"setContainer",(e=>this.container=e)),r()(this,"setActionsContainer",(e=>this.actionsContainer=e)),r()(this,"checkIfShouldRenderRight",((e,t)=>{const n=this.actionsContainer?this.actionsContainer.offsetWidth:0,o=e.right-t.right,r=t.left-e.left;return o>n&&r{const e=this.container.getBoundingClientRect(),t=this.getPopoverContainerRect(),n=window.scrollY||window.pageYOffset||document.documentElement.scrollTop||0,o=document.body.offsetHeight,r=n+e.top,i=o-r-e.height,a=this.actionsContainer?this.actionsContainer.offsetHeight:0;this.setState({isAtTop:a>i-60&&a{const e=this.container.getBoundingClientRect(),t=this.getPopoverContainerRect(),n=document.getElementById(this.props.componentId).getBoundingClientRect(),o=this.actionsContainer?this.actionsContainer.offsetHeight:0,r=e.top-Math.max(n.top,0),i=window.innerHeight>n.bottom?n.bottom-Math.max(e.bottom,0):window.innerHeight-Math.max(e.bottom,0);this.setState({isAtTop:r>o&&i{this.component=await this.props.children(),document.addEventListener("click",this.hideComponent),this.setState({isVisible:!0},this.props.isSite?this.checkIfFits:this.checkIfFitsInEditor)})),r()(this,"hideComponent",(()=>{document.removeEventListener("click",this.hideComponent),this.setState({isVisible:!1})})),r()(this,"componentWillUnmount",(()=>{document.removeEventListener("click",this.hideComponent)})),r()(this,"getPopoverContainerRect",(()=>(this.props.container||y.A.getPopoverRootElement()).getBoundingClientRect())),r()(this,"calculateActionsContainerPosition",(()=>{const{isAtTop:e,isAtRight:t}=this.state,n=this.getPopoverContainerRect(),o=this.container.getBoundingClientRect();return{...e?{top:"auto",bottom:n.bottom-o.bottom}:{top:o.top-n.top+this.container.clientHeight},...t?{left:o.right-n.left}:{right:n.right-o.left}}})),r()(this,"renderActionsContainer",(()=>{if(!this.state.isVisible)return null;const e=l()(E.A.actions,this.props.contentFontClassName,"blog-text-color","blog-dropdown-background-color"),t=this.calculateActionsContainerPosition(),n=a().createElement("div",{ref:this.setActionsContainer,className:e,style:t,role:"menu","data-hook":"actions"},a().createElement(f.A,{active:this.state.isVisible,onExit:this.hideComponent},this.component));return d().createPortal(n,this.props.container||y.A.getPopoverRootElement())})),r()(this,"render",(()=>{const{id:e,icon:t,t:n,isWhite:o,className:r}=this.props,i=l()(r,E.A.more,"more-button",{[E.A.moreWhite]:o});return a().createElement(a().Fragment,null,a().createElement("button",{onClick:this.handleClick,className:i,ref:this.setContainer,onKeyUp:e=>{"Escape"===e.key&&this.hideComponent()},type:"button","aria-pressed":this.state.isVisible,"aria-label":n("more-button.more-actions"),id:e,"data-hook":"more-button"},a().createElement("span",{className:E.A.icon},t||a().createElement(v.Ay,{className:l()(this.props.iconColorClassName,"blog-post-homepage-link-hashtag-hover-fill")}))),this.renderActionsContainer())}))}}const C=(0,u.flowRight)(h.A,p.A,m.A,(0,b.Ng)(((e,t,n,o)=>({isSite:(0,g.IC)(e),componentId:o.id}))))(A)},7053:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(48855)},48855:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var o=n(60751),r=n.n(o),i=n(16252),a=n(10711),s=n(56040),l=n(88604),u=n(20626),c=n(4868),d=n(20915);const p=(0,a.default)(c.A,((e,t)=>(0,i.isEqual)(e[1],t[1])&&(0,i.isEqual)(e[2],t[2]))),m=(0,d.Ng)((e=>{const t=(0,s.HW)(e),n=(0,u.r)(e);return{permissions:p(e,t,n,(new Date).getTime())}}))((function(e){let{children:t,permissions:n}=e;return r().createElement(l.d.Provider,{value:n},o.Children.only(t))}))},40405:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(60751),r=n.n(o),i=n(49111);const a=()=>r().createElement("div",{className:i.A.popoverRoot,id:"new-blog-popover-root"});a.getPopoverRootElement=()=>document.getElementById("new-blog-popover-root");const s=a},44559:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(59841)},59841:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(16252),c=n(68701),d=n(6899),p=n(96675),m=n(6527),h=n(44886),g=n(84468),f=n(44287),v=n(87779);class y extends i.Component{constructor(){super(...arguments),r()(this,"handleLikeClick",(()=>{const{onLikeClick:e,post:t}=this.props;e((0,c.S)(t))}))}render(){const{post:e,displayIcons:t,contentFontClassName:n,commentClassName:o,textColorClassName:r,type:i,forPublicUser:s,showViewCount:u=!0,showCommentCount:c=!0,showLikeCount:d=!0,className:p}=this.props;return a().createElement("div",{"data-hook":"post-footer",className:l()(v.A.container,v.A[i],n,r,"post-footer",p)},(u||c)&&a().createElement("div",{className:v.A.leftButtons},a().createElement(f.A,{commentClassName:o,post:e,displayIcons:t,showViewCount:u,showCommentCount:c})),d&&a().createElement("div",{className:v.A.rightButtons},a().createElement(g.A,{onClick:s(this.handleLikeClick),entity:e,className:"post-footer__like-button"})))}}const b=(0,u.flowRight)(m.A,h.A,d.A,p.A)(y)},54138:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(77449)},25370:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(44886),l=n(32882);const u=(0,s.A)((e=>{let{IconComponent:t,className:n,iconColorClassName:o}=e;return r().createElement("div",{className:l.A.iconWrapper},r().createElement("div",{className:a()(l.A.icon,n)},r().createElement(t,{className:a()(o,n)})))}))},77449:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(53292),l=n(25370),u=n(4379);const c=e=>{let{post:t,className:n,iconClassName:o}=e;return t.isPinned?r().createElement("div",{className:a()(u.A.container,n)},r().createElement(l.A,{IconComponent:s.t,className:a()("pin-icon",o)})):null}},87764:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ne});var o=n(60751),r=n.n(o),i=n(16252),a=n(74740),s=n(79862),l=n(26153),u=n(85707),c=n.n(u),d=n(4452),p=n.n(d),m=n(78304),h=n.n(m);const g=e=>r().createElement("svg",h()({xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30"},e),r().createElement("polygon",{style:{fill:"#fff"},points:"11 9 11 21 21 14.88 11 9"})),f=e=>r().createElement("svg",h()({xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30","data-hook":"play-icon"},e),r().createElement("circle",{style:{fill:"#1a1a1a"},cx:"15",cy:"15",r:"15"}),r().createElement("polygon",{style:{fill:"#fff"},points:"11 9 11 21 21 14.88 11 9"})),v={loaderOverlay:"Rr4bcH",loader:"ISP43W",load6:"H86O8l",medium:"qfwfIl",mini:"O7VfBU"},y=e=>{let{className:t,type:n,withOverlay:o}=e;const i=()=>r().createElement("div",{className:p()(v.loader,t,"image-loader",{[v[n]]:n})});return o?r().createElement("div",{className:v.loaderOverlay},r().createElement(i,null)):r().createElement(i,null)};var b=n(35002),E=n(58486),A=n.n(E),C=n(84766),S=n.n(C),w=n(47773);const O=new(S());var N=n(40289),P=n(16673),L=n(3084);const I=e=>e?(0,L.A)(e.thumbnail_url).protocol("").toString():"",T=(e,t)=>{const n=/(?:&?[^=&]*=[^=&]*)*/,o=/&?v=([a-z\-_\d]+)/,r=[()=>/https?:\/\/www\.youtube\.com\/embed\/([a-z\-_\d]+)/gi,()=>new RegExp(/https?:\/\/www\.youtube\.com\/watch\?/.source+n.source+o.source,"i"),()=>new RegExp(/https?:\/\/m\.youtube\.com\/watch\?/.source+n.source+o.source,"i"),()=>/https?:\/\/youtu\.be\/([a-z\-_\d]+)/gi],a=[()=>/https?:\/\/vimeo\.com\/(\d+)/gi,()=>/https:\/\/player\.vimeo\.com\/video\/(\d+)/gi],s=[()=>new RegExp(`${(0,i.escapeRegExp)(t)}/video/.+/.+/mp4/file.mp4$`,"i")],l=(e,t)=>{let n=!1;return e.map((e=>e())).forEach((e=>{n=n||Boolean(e.exec(t))})),n},u=(e,t)=>{let n;return e.map((e=>e())).forEach((e=>{const o=e.exec(t);o&&(n=o[1])})),n},c=[{isSupported:e=>l(r,e),buildEmbedUrl:e=>`https://www.youtube.com/embed/${u(r,e)}?enablejsapi=1`,buildUrl:e=>`https://youtu.be/${u(r,e)}`},{isSupported:e=>l(a,e),buildEmbedUrl:e=>`https://player.vimeo.com/video/${u(a,e)}?api=1`,buildUrl:e=>`https://vimeo.com/${u(a,e)}`},{isSupported:e=>l(s,e),buildEmbedUrl:e=>e,buildUrl:e=>e}];return(0,i.invoke)((e=>(0,i.find)(c,(t=>t.isSupported(e))))(e),"buildUrl",e)},_="E5DWdy",x="FMKsVM",D="ZkVtZC",k="QdXIPy",R="ul_Osp",M="BbU38r",B="qCU9oG",F=r().lazy((()=>Promise.all([n.e(1160),n.e(2550)]).then(n.bind(n,74290)))),U=e=>({backgroundImage:`url(${I(e)})`});class j extends o.Component{constructor(){super(...arguments),c()(this,"state",{isLoading:!1,isLoaded:!1}),c()(this,"setPlayer",(e=>{this.player=e})),c()(this,"handleVideoStart",(e=>{this.player!==e&&this.setState({isLoading:!1,isLoaded:!1})})),c()(this,"handlePlay",(e=>{e.preventDefault(),e.stopPropagation(),this.setState({isLoading:!0}),setTimeout((()=>this.handleReady()),5e3)})),c()(this,"handleReady",(()=>{this.state.isLoading&&this.setState({isLoaded:!0})})),c()(this,"handleStart",(()=>{this.props.eventEmitter.emitEvent("video-start",[this.player])})),c()(this,"renderPlayIcon",(()=>r().createElement("span",null,r().createElement(f,{className:B}))))}componentDidMount(){this.props.eventEmitter.on("video-start",this.handleVideoStart)}componentWillUnmount(){this.props.eventEmitter.removeListener("video-start",this.handleVideoStart),clearTimeout(this.timeout)}renderThumbnail(){const{isLoading:e,isLoaded:t}=this.state,{isMobile:n,isDesktop:o,t:i,oembed:a}=this.props;return!t&&r().createElement("div",{className:D,style:U(a),onClick:this.handlePlay},r().createElement("div",{className:k}),!e&&n&&r().createElement("div",{className:R},r().createElement(g,{className:M})," ",i("video-embed.load-video")),!e&&o&&this.renderPlayIcon(),e&&r().createElement(y,{type:"medium"}))}renderPlayer(){const{isLoading:e}=this.state,{oembed:t,isDesktop:n,videoHost:i}=this.props;return e&&r().createElement(o.Suspense,{fallback:null},r().createElement(F,{ref:this.setPlayer,className:x,width:"100%",height:"100%",url:T(t.video_url,i),onReady:this.handleReady,onStart:this.handleStart,playing:n,controls:!0}))}render(){const{className:e}=this.props;return r().createElement("div",{className:p()(_,e)},this.renderPlayer(),this.renderThumbnail())}}const G=(0,i.flowRight)(P.A,b.A,(function(e){const t=t=>r().createElement(e,h()({eventEmitter:O},t));return t.displayName=`WithEventEmitter(${(0,w.A)(e)})`,A()(t,e),t}),N.A)(j);var W=n(72328);const H="minimal",z="editorial",V="postcard",J="magazine",Z="tiled",K="brick",$="one-column",q="recent-posts",Y={[a.ur]:{minHeight:60,maxHeight:450,fixedWidth:292},[a.WW]:{minHeight:90,maxHeight:700,fixedWidth:454},[a.Q2]:{fixedHeight:400,fixedWidth:940},[a.JQ]:{fixedHeight:362,fixedHeightAlternate:306,fixedWidth:469},[a.iw]:{fixedHeight:165,fixedWidth:290},[q]:{fixedHeight:165,fixedWidth:290},[a.Xe]:{fixedHeight:292,fixedWidth:292},[a.pV]:{fixedHeight:454,fixedWidth:454},[H]:{fixedHeight:165,fixedWidth:290},[z]:{fixedHeight:165,fixedWidth:290},[V]:{fixedHeight:292,fixedWidth:292},[J]:{fixedHeight:454,fixedWidth:454},[Z]:{minHeight:60,maxHeight:450,fixedWidth:292},[K]:{minHeight:90,maxHeight:700,fixedWidth:454},[$]:{fixedHeight:400,fixedWidth:940},[a.S1]:{minHeight:90,maxHeight:700,fixedWidth:454},[a.wO]:{fixedHeight:165,fixedWidth:290},[a.v]:{fixedHeight:362,fixedHeightAlternate:306,fixedWidth:469},[a.Pd]:{fixedHeight:300,fixedWidth:300},[a.l4]:{fixedHeight:454,fixedWidth:454},[a.ZI]:{fixedHeight:1e3,fixedWidth:1e3},[a._c]:{fixedHeight:70,fixedWidth:70}},X=e=>{let{imageWidth:t,imageHeight:n,fixedHeightAlternate:o,fixedWidth:r,minHeight:i,maxHeight:a,fixedHeight:s,useAlternateDimesions:l}=e;if(l&&o)return o;if(s)return s;const u=Math.ceil(r*n/t);return Math.max(i||0,Math.min(a||1e3,u))};var Q=n(91165),ee=n(22298),te=n(72859),ne=n(89799),oe=n(20915);const re="QSqqb4",ie="hZSyIr",ae="tJFr1E",se="e_MLm5",le=(0,oe.Ng)((e=>({isSeo:(0,te.ah)(e)})))((e=>{let{image:t,url:n,isPublic:i,height:a,width:s}=e;const l=(0,o.useMemo)((()=>i?{"data-pin-url":n}:{"data-pin-nopin":!0}),[i,n]);return r().createElement("div",{className:p()(re),"data-hook":"post-list-item-image"},r().createElement(ne._,{width:s,height:a,socialAttrs:l,className:se,image:t}))}));var ue=n(96421),ce=n(79170),de=n(16122),pe=n(92647);var me=n(34314);const he=e=>{let{container:t,component:n,layoutName:o,isSSR:r}=e;const s={width:void 0,height:void 0};if(r)s.width=t.width||n.width||320;else{const e=(0,de.f)()||(0,pe.m)()?1:(0,i.get)(window,"screen.width",320)/(0,i.get)(window,"innerWidth",320);s.width=Math.floor(t.width?t.width*e:n.width*e)}return(e=>[a._c,a.kS].includes(e))(o)&&(s.height=s.width),{width:(0,i.isInteger)(s.width)?s.width:void 0,height:(0,i.isInteger)(s.height)?s.height:void 0}},ge=e=>{let{image:t,url:n,isPublic:o,width:i,height:s,layoutName:l}=e;const{rootWidth:u}=(0,me.N)(),c=(0,oe.d4)(te.fU),d=he({container:{width:i,height:s},component:{width:u},layoutName:l,isSSR:c}),m=(0,ce.Oh)(t),h=t.height/t.width,g=d.width||320,f=d.height||Math.floor(g*h),v={aspectRatio:l===a._R?` ${t.width} / ${t.height}`:` ${g} / ${f}`};return r().createElement("div",{className:p()(re,ae),style:v},m?r().createElement(ue._,{alt:"",className:ie,uri:m,displayMode:"fill",width:t.width,height:t.height,targetWidth:g,targetHeight:f,"data-hook":"post-list-image",socialAttrs:o?{"data-pin-url":n}:{"data-pin-nopin":!0}}):void 0)},fe=(0,ee.A)(ge,le),ve="OjkszV",ye="XPEMCH",be="_8tAyR",Ee="Ym4kNx",Ae="wM0E5k",Ce="bg3nLo",Se=e=>({backgroundImage:`url(${I(e)})`}),we=(0,i.flowRight)(b.A,P.A)((e=>{let{oembed:t,t:n,isMobile:o,withoutLabel:i}=e;return r().createElement("div",{className:ve},r().createElement("div",{className:ye,style:Se(t),role:"img"},r().createElement("div",{className:be}),(e=>{let{t,isMobile:n,withoutLabel:o}=e;return n&&!o?r().createElement("div",{className:Ee},r().createElement(g,{className:Ae})," ",t("video-embed.load-video")):r().createElement("span",null,r().createElement(f,{className:Ce}))})({t:n,isMobile:o,withoutLabel:i})))})),Oe=e=>{let{image:t,url:n,isPublic:o,postLink:i,type:s,imageClassName:l,isMobile:u,useAlternateDimesions:c,width:d,height:p,oembed:m,withoutContainerStyle:h,post:g}=e;const f=s===a._c;let v;if(t)v=t;else{if(!(f&&m&&m.thumbnail_url))return null;v=m.thumbnail_url}const y=function(e,t,n){void 0===n&&(n=!1);const o=Y[t];return e&&o?{width:o.fixedWidth,height:X({imageWidth:e.width,imageHeight:e.height,...o,useAlternateDimesions:n})}:{width:void 0,height:void 0}}(t,s,c),b=u||h?{}:{height:`${p||y.height}px`,minHeight:`${p||y.height}px`};return r().createElement("div",{style:b,className:l},r().createElement(Q.A,{tabIndex:"-1",fullRoute:g.link,to:i,"aria-hidden":u?"true":void 0},r().createElement(fe,{image:v,url:g.link||n,isPublic:o,height:p||y.height,width:d||y.width,layoutName:s})))},Ne=(0,i.flowRight)(b.A,W.A)((e=>{let{post:t,postLink:n,type:o,canPlayVideo:i,videoClassName:a,imageClassName:u,isPublic:c,isMobile:d,useAlternateDimesions:p,width:m,height:h,sectionUrl:g,withWrapper:f=!1,wrapperClassName:v,withoutContainerStyle:y=!1}=e;const{shouldRender:b,imageMetadata:E,videoMetadata:A}=(0,s.Al)(t);if(!b)return null;const C=Oe({image:E,url:(0,l.d)(n,g),isPublic:c,postLink:n,type:o,imageClassName:u,isMobile:d,useAlternateDimesions:p,width:m,height:h,oembed:A,withoutContainerStyle:y,post:t})||(e=>{let{oembed:t,postLink:n,canPlayVideo:o,videoClassName:i,height:a=140}=e;if(!t)return null;const s={flexBasis:`${a}px`};return o?r().createElement(G,{oembed:t,className:i,style:s}):r().createElement("div",{className:i,style:s},r().createElement(Q.A,{tabIndex:"-1",to:n},r().createElement(we,{oembed:t})))})({oembed:A,postLink:n,canPlayVideo:i,videoClassName:a,width:m,height:h});return f?r().createElement("div",{className:v},C):C}))},57106:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(59691)},44287:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(33999)},33999:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(68701),l=n(31127),u=n(95403),c=n(78923),d=n(16202),p=n(20915),m=n(22976),h=n(5504),g=n(22129);const f=(0,p.Ng)(((e,t)=>{let{post:n}=t;return{viewCount:(0,c.Bi)(e,(0,s.S)(n)),totalComments:(0,c.d3)(e,(0,s.S)(n)),viewCountFormatted:(0,c.f4)(e,(0,s.S)(n)),totalCommentsFormatted:(0,c.r9)(e,(0,s.S)(n))}}))((e=>{let{post:t,displayIcons:n,className:o,showViewCount:i=!0,showCommentCount:s=!0,commentClassName:c,viewCount:p,totalComments:f,viewCountFormatted:v,totalCommentsFormatted:y}=e;const b=n?h.A:m.A,E=n?u.A:l.A,A=s&&(f>0||!t.isCommentsDisabled);return r().createElement("div",{className:a()(g.A.container,"post-stats",o),"data-hook":"post-stats"},i&&r().createElement(b,{count:p,countFormatted:v,className:a()(g.A.views,"has-custom-focus",o),tabIndex:0}),A&&r().createElement(d.A,{postLink:t.link,postPath:t.slug,className:a()(g.A.comments,"has-custom-focus",c)},r().createElement(E,{showZero:!0,count:f,countFormatted:y,className:o})))}))},8778:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(24937)},24937:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(16252),l=n(69792),u=n(35002),c=n(971),d=n(44886),p=n(76058),m=n(14509),h=n(73428),g=n(91165),f=n(20915),v=n(13399);const y=e=>{let{title:t,to:n,lineCount:o,linkClassName:i,fontClassName:s,fullRoute:l}=e;const u="post-title__text",c=((e,t,n)=>t?r().createElement(h.A,{useExactLineHeight:!0,clamp:t,className:n},e):r().createElement("span",{className:n},e))(t,o,s);return n?r().createElement(g.A,{fullRoute:l,className:a()(u,v.A.link,i),to:n},c):r().createElement("span",{className:a()(u,s)},c)},b=e=>{let{applyFeedDesign:t,style:n={},className:o,getPostClassName:i,isInPostPage:s=!1,layoutName:u,lineCount:c,linkClassName:d,navigation:p,textColorClassName:h,title:g,to:f,type:E,isDesktop:A,isMobile:C,postTitleFontSizeMobile:S,showCategoryLabel:w=!1,fullRoute:O}=e;const N=s?"h1":"h2",P="string"==typeof g&&s&&(0,l.v)(g)?"rtl":void 0,L=a()(v.A.title,v.A[E],o,!t&&h,"post-title","blog-hover-container-element-color",E===b.SINGLE&&v.A.singleNew,i((0,m.hw)(u,"title-color"),"title-font"),s&&"blog-post-page-title-font",w&&v.A.withCategoryLabel),I=s&&C?{...n,fontSize:S}:n;return r().createElement(N,{className:L,style:I,"data-hook":"post-title",dir:P},y({title:g,to:f,lineCount:c,navigation:p,linkClassName:d,fontClassName:A?o:void 0,fullRoute:O}))};b.SMALL="small",b.MEDIUM="medium",b.LARGE="large",b.SINGLE="single",b.SEARCH="search";const E=(0,s.flowRight)(d.A,c.A,u.A,(0,f.Ng)((e=>({postTitleFontSizeMobile:(0,p.jW)(e)}))))(b)},87592:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A,Z:()=>o.Z});var o=n(52853)},81593:(e,t,n)=>{"use strict";n.d(t,{r:()=>u});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(94158),l=n(1241);const u=e=>{let{a11yLabel:t}=e;return r().createElement("span",{className:l.A.root},t&&r().createElement("span",{className:l.A.visuallyHidden},t),r().createElement("span",{"aria-hidden":"true",className:l.A.innerContainer},r().createElement(s.A,{className:a()(l.A.icon,l.A.full)})))}},26255:(e,t,n)=>{"use strict";n.d(t,{z:()=>u});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(94158),l=n(1241);const u=e=>{let{rating:t,a11yLabel:n}=e;const o=Math.min(Math.max(t,0),5);return r().createElement("span",{className:l.A.root},n&&r().createElement("span",{className:l.A.visuallyHidden},n),r().createElement("span",{"aria-hidden":"true",className:l.A.innerContainer},[1,2,3,4,5].map((e=>{const t=function(e,t){if(t<=e)return"full";if(t-e<1){const n=t-e;return n<.25?"full":n>.75?"empty":"half"}return"empty"}(o,e);return"half"===t?r().createElement("span",{className:l.A.halfStarWrapper,key:e},r().createElement(s.A,{key:`${e}-start`,className:a()(l.A.icon,l.A.halfStarInnerWrapperStart,l.A.full)}),r().createElement(s.A,{key:`${e}-end`,className:a()(l.A.icon,l.A.halfStarInnerWrapperEnd,l.A.empty)})):r().createElement(s.A,{key:e,className:a()(l.A.icon,"full"===t?l.A.full:l.A.empty)})}))))}},94158:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(60751),r=n.n(o);const i=e=>{let{className:t}=e;return r().createElement("svg",{viewBox:"3 2 18 18",width:"18",height:"18",className:t},r().createElement("path",{d:"M20.9502,8.8922 C20.8322,8.5282 20.5222,8.2672 20.1432,8.2112 L15.1362,7.4842 L12.8962,2.9472 C12.5572,2.2592 11.4422,2.2592 11.1032,2.9472 L8.8642,7.4842 L3.8562,8.2112 C3.4772,8.2672 3.1682,8.5282 3.0492,8.8922 C2.9312,9.2562 3.0282,9.6502 3.3022,9.9172 L6.9262,13.4492 L6.0712,18.4362 C6.0062,18.8142 6.1582,19.1882 6.4682,19.4132 C6.7782,19.6412 7.1812,19.6692 7.5212,19.4912 L11.9992,17.1352 L16.4792,19.4912 C16.6262,19.5692 16.7862,19.6072 16.9452,19.6072 C17.1512,19.6072 17.3572,19.5412 17.5322,19.4132 C17.8422,19.1882 17.9942,18.8142 17.9292,18.4362 L17.0742,13.4502 L20.6982,9.9172 C20.9722,9.6502 21.0692,9.2562 20.9502,8.8922",fillRule:"evenodd",fill:"currentColor"}))}},52853:(e,t,n)=>{"use strict";n.d(t,{A:()=>m,Z:()=>p});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(16252),l=n(16673),u=n(81593),c=n(26255),d=n(61567);const p={default:"default",bracket_separated:"bracket-separated",with_range:"with-range",count_only:"count-only"},m=(0,s.flowRight)(l.A)((e=>{let{className:t,rating:n,count:o,isLoading:i=!1,useTransitions:s=!1,t:l,layout:m=p.default}=e;const h=r().useRef(s);return r().createElement("span",{className:a()(d.A.container,{[d.A.withTransitions]:h.current},d.A[m],t),"data-hook":a()("ratings-display",i?"":"is-ready")},m===p.with_range?r().createElement(u.r,{a11yLabel:l("ratings-display.rating-aria-label",{rating:n})}):r().createElement(c.z,{rating:i?0:n,a11yLabel:l("ratings-display.rating-aria-label",{rating:n})}),!i&&r().createElement("span",{className:d.A.ratingInfo},0===o?l("ratings-display.no-ratings"):(()=>{switch(m){case p.default:return`${n.toFixed(1)} | ${l("ratings-display.count",{count:o})}`;case p.bracket_separated:return`${n.toFixed(1)} (${o})`;case p.count_only:return`(${o})`;case p.with_range:return`${n.toFixed(1)} / 5 (${o})`;default:return}})()))}))},65429:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(90883),c=n(86498),d=n(72859),p=n(20915),m=n(34314);const h={xs:e=>e<660,s:e=>e>=660&&e<686,sm:e=>e>=686&&e<980,md:e=>e>=980&&e<1280,lg:e=>e>=1280&&e<1920,xl:e=>e>=1920,"lt-s":e=>e<660,"lt-sm":e=>e<686,"lt-md":e=>e<980,"lt-lg":e=>e<1280,"lt-xl":e=>e<1920,"gt-xs":e=>e>=660,"gt-s":e=>e>=686,"gt-sm":e=>e>=980,"gt-md":e=>e>=1280,"gt-lg":e=>e>=1920,"gt-740":e=>e>=740,"gt-830":e=>e>=830,"gt-886":e=>e>=886,"gt-940":e=>e>=940,"gt-1000":e=>e>=1e3,"gt-1080":e=>e>=1080,"gt-1200":e=>e>=1200,"w686-745":e=>e>=686&&e<=745,"w686-980":e=>e>=686&&e<=980,"lte-w980":e=>e<=980,"lte-post_content_area_min":e=>e<=c.ev,"lte-post_content_area_small":e=>e<=c.bl,"lte-banner-w1564":e=>e<=1564,"lte-banner-w1425":e=>e<=1425,"lte-banner-w1181":e=>e<=1181,"lte-banner-w980":e=>e<=980,"lte-category-header-w1364 ":e=>e<=1364},g=Object.keys(h),f=(e,t)=>{if("number"!=typeof e)return t?"use-media-queries":void 0;const n=g.reduce(((t,n)=>(h[n](e)&&t.push(n),t)),[]);return l()(n)};class v extends i.Component{constructor(){super(...arguments),r()(this,"nodeRef",a().createRef()),r()(this,"state",{width:this.props.width,classList:f(this.props.width,this.props.isDesktop)})}componentDidMount(){this.resizeObserver=new u.default((e=>{const t=Math.floor(e[0].contentRect.width);if(this.state.width!==t){const e=f(t,this.props.isDesktop);this.setState({width:t,classList:e})}})),this.resizeObserver.observe(this.nodeRef.current)}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect()}render(){const{width:e,classList:t}=this.state,{className:n,dataHook:o}=this.props;return a().createElement("div",{ref:this.nodeRef,style:{"--root-width":e?`${e}px`:"100vw"},className:l()(t,n),"data-hook":o},a().createElement(m.Ay.Provider,{value:{rootWidth:e}},this.props.children))}}const y=(0,p.Ng)(((e,t,n,o)=>({width:o.dimensions.width||void 0,isDesktop:(0,d.fH)(e)})))(v)},68852:(e,t,n)=>{"use strict";n.d(t,{a:()=>b});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(51808),l=n(5908),u=n(70246),c=n(33683),d=n(34686),p=n(93731),m=n(72859);const h="root/SET_STATE",g=(0,u.A)(h),f="root/SET_HOST",v=(0,u.A)(f),y=function(e,t){void 0===e&&(e={});let{type:n,payload:o}=t;switch(n){case h:return{...e,state:o};case f:return{...e,host:o};default:return e}},b=e=>{class t extends a().Component{constructor(){super(...arguments),r()(this,"store",null),r()(this,"stateVersions",null),r()(this,"promisifiedActionsService",(0,c._)()),r()(this,"controllerId",null),r()(this,"getWorkerReady",(()=>(this.workerReady=this.workerReady||new Promise((e=>{this.props.isSSR?this.markWorkerAsReady=e:(e(),this.markWorkerAsReady=()=>{})})),this.workerReady))),r()(this,"patchState",((e,t)=>{e.appSettings={...e.appSettings,colorPresets:t.style.siteColors,textPresets:t.style.siteTextPresets,style:t.style.styleParams}}))}componentDidUpdate(e){e.isSSR!==this.props.isSSR&&this.markWorkerAsReady&&this.markWorkerAsReady()}render(){const{state:t,stateVersions:n,actions:o,actionsPromisified:r,host:i,controllerId:u}=this.props;if(this.controllerId||(this.controllerId=u),this.store){const e=this.store.getState().state,o=this.stateVersions,r=(0,p.hV)({currentState:e,currentVersions:o,newState:t,newVersions:n,currentControllerId:this.controllerId,newControllerId:u});this.stateVersions=n,(0,m.sb)(r)?(this.patchState(r,i),this.store.dispatch(g(r)),this.store.dispatch(v(i))):(r.appSettings&&!r.appSettings.colorPresets&&this.patchState(r,i),this.store.dispatch(g(r))),this.promisifiedActionsService.resolvePromisifiedActions(r)}else{const e=Object.keys(r).reduce(((e,n)=>(e[n]=this.promisifiedActionsService.usePromisifiedAction(r[n],t),e)),{});this.stateVersions=n,this.patchState(t,i),this.store=(0,l.y$)(y,{state:t,actions:{...o,...e,openModal:(0,d.Vz)(o.openModal)},host:i,workerReady:this.getWorkerReady()})}return this.controllerId{"use strict";n.d(t,{Ht:()=>m,yC:()=>c,ns:()=>d});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(44886);const l="tmHsxH",u="Ki_0_s",c=e=>{let{className:t,inverted:n,separatorBackgroundColorClassName:o}=e;return r().createElement("span",{className:a()(l,t,p(n,o))})},d=(0,s.A)(c);function p(e,t){return e?"blog-inverted-separator-background-color":t||"blog-separator-background-color"}const m=(0,s.A)((e=>{let{className:t,inverted:n,separatorBackgroundColorClassName:o}=e;return r().createElement("span",{className:a()(u,t,p(n,o))})}))},83542:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(70129)},70129:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(16252),l=n(20793),u=n(16673);const c=(0,s.flowRight)(l.A,u.A)((e=>{let{className:t,time:n,timeFormatted:o,formatRelativeTime:i,t:s}=e;const l=s(o||i(n));return r().createElement("span",{title:l,className:a()(t,"time-ago"),"data-hook":"time-ago"},l)}))},5278:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(22305)},22305:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(16252),l=n(89979);const u=(e,t)=>(0,s.merge)(e,e.top&&{top:Number(e.top)-t+"px"}),c=e=>{let{children:t,style:n={},className:o,triangle:i={},distanceFromElement:s=2}=e;return r().createElement("span",{"data-hook":"tooltip-container",className:a()(o,l.A.container),style:u(n,s)},r().createElement("span",{className:a()(l.A.triangleBorder,i.borderColorClass||l.A.defaultColor),style:{borderBottomColor:i.borderColor}}),t,r().createElement("span",{className:a()(l.A.triangleBackground,i.borderBottomColorClass||l.A.defaultColor),style:{borderBottomColor:i.backgroundColor}}))}},5504:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(36773)},36773:(e,t,n)=>{"use strict";n.d(t,{A:()=>p});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(16252),l=n(44886),u=n(16673),c=n(10397),d=n(61904);const p=(0,s.flowRight)(u.A,l.A)((e=>{let{t,iconColorClassName:n,...o}=e;return a().createElement(c.A,r()({},o,{dataHook:"view-count-compact",ariaHidden:!0}),a().createElement(d.S,{"aria-label":t("view-count.label",{count:o.count,numberFormatted:o.countFormatted}),className:n}))}))},22976:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(86257)},86257:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(3717);const l=e=>a().createElement(s.A,r()({},e,{i18nKey:"view-count.label"}))},30313:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var o=n(60751),r=n.n(o),i=n(16252),a=n(23775),s=n(58632),l=n(57827),u=n(19254),c=n(20915),d=n(6899),p=n(63971),m=n(72859),h=n(711);const g=(0,i.flowRight)((0,c.Ng)(((e,t,n)=>({buttonClicked:n.buttonClicked,navigateWithinPostPage:n.navigateWithinPostPage,metaSiteId:(0,h._G)(e),lang:(0,p.ll)(e),isMobile:(0,m.Ny)(e),isEditPostInDashboardEnabled:(0,s.b)(e,l.vs)}))),d.A)((e=>{let{categorySlug:t,children:n,buttonClicked:o,forPublicUser:i,navigateWithinPostPage:s,metaSiteId:l,lang:c,isMobile:d,isEditPostInDashboardEnabled:p}=e;const m=()=>(o({action:u.jr}),p&&!d?(0,a.oh)({metaSiteId:l,lang:c}):s("/create-post"+(t?`?categorySlug=${t}`:""))),h=r().Children.only(n);return r().cloneElement(h,{onClick:function(){return i(m)(...arguments)}})}))},98421:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(30313)},88604:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var o=n(60751);const r=n.n(o)().createContext(null)},93203:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});const o=(e,t)=>{const n=new Date(e);if(!t)return{month:n.getMonth()+1,year:n.getFullYear()};const[o,r]=n.toLocaleString("en",{timeZone:t,year:"numeric",month:"numeric"}).split("/");return{month:parseInt(o,10),year:parseInt(r,10)}}},211:(e,t,n)=>{"use strict";n.d(t,{A:()=>v});var o=n(78304),r=n.n(o),i=n(85707),a=n.n(i),s=n(60751),l=n.n(s),u=n(58486),c=n.n(u),d=n(16252),p=n(20915),m=n(30987),h=n(54119),g=n(6899);const f="EnsureAuth";function v(e){const t=(0,h.A)(e);class n extends s.Component{constructor(){super(...arguments),a()(this,"handleClick",(e=>{const{isAuthenticated:t,onClick:n,requestLogin:o}=this.props;t?n&&n(e):(e.preventDefault(),e.stopPropagation(),o().then((()=>n&&n(e))))}))}render(){const e=(0,d.omit)(this.props,["isAuthenticated","onClick","requestLogin"]);return l().createElement(t,r()({},e,{onClick:this.handleClick}))}}a()(n,"displayName",(0,m.A)(f,e)),c()(n,t);return(0,d.flowRight)((0,p.Ng)(((e,t,n)=>({requestLogin:n.requestLoginPromisified}))),g.A)(n)}},22591:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(60751),r=n.n(o),i=n(20915),a=n(72859);const s=(e,t)=>(0,i.Ng)((e=>({isRTL:(0,a.DY)(e)})))((n=>{let{isRTL:o,...i}=n;const a=o?t:e;return r().createElement(a,i)}))},54119:(e,t,n)=>{"use strict";n.d(t,{A:()=>y});var o=n(78304),r=n.n(o),i=n(85707),a=n.n(i),s=n(60751),l=n.n(s),u=n(58486),c=n.n(u),d=n(86513),p=n(20915),m=n(30987),h=n(72859),g=n(711),f=n(6899);const v="PreventClickInDemoMode";function y(e){class t extends s.Component{constructor(){super(...arguments),a()(this,"handleClick",(e=>{const{isDemoMode:t,viewMode:n,onClick:o,openModal:r}=this.props;t?r(d.Bh,{viewMode:n}):o&&o(e)}))}render(){return l().createElement(e,r()({},this.props,{onClick:this.handleClick}))}}a()(t,"displayName",(0,m.A)(v,e)),c()(t,e);return(0,p.Ng)(((e,t,n)=>({viewMode:(0,h.Lz)(e),isDemoMode:(0,g.Jz)(e),openModal:n.openModal})))((0,f.A)(t))}},79740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(16252),r=n(58632),i=n(20915);const a=e=>t=>(0,o.mapValues)(e,(e=>(0,r.b)(t,e)));function s(e){return t=>(0,i.Ng)(a(e))(t)}},69847:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var o=n(16252),r=n(3790),i=n(74740),a=n(20915),s=(n(32860),n(51880)),l=n(76058),u=n(25927),c=n(1408),d=n(72859),p=n(25993),m=n(91157),h=n(971);const g=(0,o.flowRight)(p.A,h.A,(0,a.Ng)(((e,t)=>{let{borderWidth:n,applyFeedDesign:o}=t;const a=(0,c.S)(e)||r.ti,p=(0,i.Sv)((0,u.NS)(e,a,(0,d.Ny)(e))),m=(0,l.bu)(e),h=(0,i.NN)(p)?0:(0,s.uD)(e,m?`post-${a}-mobile-borderWidth`:`post-${a}-borderWidth`);return{borderWidth:o?h:n}})),(0,m.A)("WithFeedBorderWidth"))},971:(e,t,n)=>{"use strict";n.d(t,{A:()=>b});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(58486),l=n.n(s),u=n(16252),c=n(3790),d=n(20915),p=(n(27342),n(63861)),m=n(76058),h=n(84329),g=n(1408),f=n(54943),v=n(14509),y=n(91157);const b=e=>{const t=t=>{let{isCreatedWithResponsiveEditor:n,isFeedDesignPropsMigrated:o,isInFeed:i,isInSearch:s,section:l=c.ti,useMobileSettings:d,shouldApplyPostDesignInFeed:p,...m}=t;const h=i&&!p,g=l===c.wj||l===c.CI||l===c.$Y||(o||n)&&(h||s),f=g?(0,v.nn)(l,d):u.noop;return a().createElement(e,r()({getPostClassName:f,applyFeedDesign:g,section:l},m))};l()(t,e);return(0,u.flowRight)((0,d.Ng)(((e,t)=>{let{section:n}=t;const o=(0,p.aM)(e);return{section:(0,g.S)(e)||n,isInFeed:(0,f.OH)(o),isInSearch:!1,isCreatedWithResponsiveEditor:(0,m.et)(e),isFeedDesignPropsMigrated:(0,m.cM)(e),useMobileSettings:(0,m.bu)(e),shouldApplyPostDesignInFeed:(0,h.h)(e)}})),(0,y.A)("WithIsFeedDesignEnabled"))(t)}},44886:(e,t,n)=>{"use strict";n.d(t,{A:()=>h});var o=n(4452),r=n.n(o),i=n(16252),a=n(74740),s=n(20915),l=(n(39835),n(76058)),u=n(14509),c=n(91157),d=n(971),p=n(44574),m=n(47209);const h=(0,i.flowRight)((0,p.A)({fallbackEnabled:!1}),d.A,(0,s.Ng)(((e,t)=>{let{applyFeedDesign:n,layoutType:o,layoutName:i,mobileLayoutName:s,getPostClassName:c,iconColorClassName:d,textColorClassName:p,separatorBackgroundColorClassName:h}=t;const g=(0,l.Xu)(e)?s:i;return n?((e,t,n)=>({iconColorClassName:r()(e(t(n,"description-fill"))),textColorClassName:r()(e(t(n,"description-color"),t(n,"description-fill"),"description-font")),separatorBackgroundColorClassName:r()(e(t(n,"description-background-color")))}))(c,u.hw,g):((e,t,n,o)=>(0,a.gc)(e)?{iconColorClassName:m.A.textOnImageIcons,textColorClassName:m.A.textOnImageTextColor,separatorBackgroundColorClassName:m.A.textOnImageSeperatorBackgroundColor}:{iconColorClassName:t||"blog-icon-fill",textColorClassName:n||"blog-text-color",separatorBackgroundColorClassName:o||"blog-separator-background-color"})(o,d,p,h)})),(0,c.A)("WithLayoutColorClasses"))},40289:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(54558),r=n(20915);const i=e=>(0,r.Ng)((e=>({videoHost:(0,o.Qd)(e),imageHost:(0,o.a$)(e)})))(e)},76917:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var o=n(16252),r=n(20915),i=n(76058),a=n(25927),s=n(72859),l=n(91157),u=n(44574);const c=(0,o.flowRight)((0,u.A)(),(0,r.Ng)(((e,t)=>{let{section:n}=t;const o=(0,s.Ny)(e),r=(0,a.NS)(e,n,o);return{postTitleFontSize:(0,i.ny)(e,r,n,"title"),postDescriptionFontSize:(0,i.ny)(e,r,n,"description"),postMetadataFontSize:(0,i.ny)(e,r,n,"metadata"),defaultPostTitleFontSize:(0,i.wH)(e,r,n,"title"),defaultPostDescriptionFontSize:(0,i.wH)(e,r,n,"description")}})),(0,l.A)("WithPostFontSize"))},20793:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var o=n(16252),r=n(97335),i=n(53790),a=n(20915),s=n(72859),l=n(16673);function u(e){return(0,o.flowRight)(l.A,(0,a.Ng)((e=>{const t=(0,s.Z0)(e),n=(0,s.Md)(e),o=(0,r.r)(t);return{formatRelativeTime:e=>(0,i.J2)({date:e,lng:t,rtfFormatter:o,timezone:n})}})))(e)}},72328:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(20915),r=n(87007);const i=e=>(0,o.Ng)((e=>({sectionUrl:(0,r.go)(e)})))(e)},34686:(e,t,n)=>{"use strict";n.d(t,{Vz:()=>i,pR:()=>a});var o=n(70246),r=n(78247);(0,o.A)("modal/OPEN",((e,t,n,o)=>({type:e,props:t,correlationId:o})),((e,t,n,o)=>n)),(0,o.A)("modal/CLOSE",(e=>e));const i=e=>(t,n,o)=>{const{correlationId:i,promise:a}=(0,r.P)();return e(t,n,o,i),a},a=e=>t=>((0,r.C)(t.correlationId,t.resolve),e(t))},78247:(e,t,n)=>{"use strict";n.d(t,{C:()=>i,P:()=>r});const o={},r=()=>{const e=Date.now(),t=(()=>{let e,t;return{promise:new Promise(((n,o)=>{e=n,t=o})),resolve:e,reject:t}})();return o[e]=t,{correlationId:e,promise:t.promise}},i=(e,t)=>{o[e]&&(o[e].resolve(t),delete o[e])}},84329:(e,t,n)=>{"use strict";n.d(t,{h:()=>l});var o=n(3790),r=n(74740),i=n(76058),a=n(25927),s=n(1408);const l=e=>{const t=(0,s.S)(e);if(t!==o.ti)return!1;const n=(0,a.NS)(e,t);return(0,r.It)(n)&&(0,i.eo)(e)}},89532:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});const o=e=>e.isPostInPreview},63971:(e,t,n)=>{"use strict";n.d(t,{JK:()=>r,ll:()=>i});var o=n(16252);n(72859);const r=e=>(0,o.get)(e,"locale.current"),i=e=>(0,o.get)(e,"locale.query")},20626:(e,t,n)=>{"use strict";n.d(t,{r:()=>a});var o=n(24885),r=n(85467),i=n(76058);const a=(0,o.Mz)([r.g,i.uX,i.Cj],((e,t,n)=>({isMemberAreaInstalled:e,isSocialSharingEnabled:t.length>0,isCommentsEnabled:n})))},10766:(e,t,n)=>{"use strict";n.d(t,{qs:()=>a,si:()=>i,v2:()=>r});const o=(e,t)=>n=>{n.keyCode===e&&t(n)},r=e=>t=>o(13,e)(t),i=e=>t=>o(27,e)(t),a=e=>t=>o(9,e)(t)},73723:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var o=n(17617);const r=(e,t)=>{switch(e){case o.Jt.Center:return"center";case o.Jt.Right:return t?"start":"end";case o.Jt.Left:default:return t?"end":"start"}}},30987:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(47773);function r(e,t){return`${e}(${(0,o.A)(t)})`}},98337:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});const o=e=>{let{t,isLiked:n,likeCount:o,isComment:r}=e;const i=(e=>{let{t,likeCount:n}=e;return n?`${n} ${t(n>1?"like-button.total-likes_plural":"like-button.total-likes")}`:null})({t,likeCount:o}),a=(e=>{let{t,isComment:n,isLiked:o}=e;return t(o?n?"like-button.comment-is-liked":"like-button.is-liked":n?"like-button.comment-is-unliked":"like-button.is-unliked")})({t,isComment:r,isLiked:n});return i?`${i} ${a}`:a}},4868:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var o=n(55548),r=n(85347),i=n(31960);function a(e,t,n,a){void 0===n&&(n=null);const s=n||(0,i.A)(e),l=(0,o.permissionsChecker)(s,t,(t=>(t.postId&&(t=(0,r.f5)(e,t.postId)),t)));return a&&(l._key=a),l}},31960:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(76058),r=n(85467);const i=e=>({isMemberAreaInstalled:(0,r.g)(e),isSocialSharingEnabled:Boolean((0,o.uX)(e).length),isCommentsEnabled:(0,o.Cj)(e)})},62034:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var o=n(10711);const r=(e,t)=>(n,o,r)=>t?e.canSee(e.resourcify(r,o),n):e.can(e.resourcify(r,o),n),i=e=>{const t=r(e,!1),n=r(e,!0),o=(i=t,a=n,(e,t,n,o)=>{const r=o||n,s=i(e,t,n),l=a(e,t,n);return s||l?r(s,l):null});var i,a;return{can:t,canSee:n,canRender:o}},a=(0,o.default)(i,((e,t)=>{let[n]=e,[o]=t;return n._key===o._key}));function s(e){return e._key?a(e):i(e)}},54943:(e,t,n)=>{"use strict";n.d(t,{CW:()=>C,KD:()=>v,OH:()=>E,gk:()=>y,ju:()=>A,pP:()=>w,rg:()=>b,t:()=>O,xE:()=>S});var o=n(16252),r=n(47210),i=n(58892);const a="page_not_found",s="search_results",l="post_page",u="post_page_preview",c="post_edit_page",d="comment_edit_page",p="feed_page",m="categories_page",h="create_post",g="archive_page",f={[a]:[i.ZO],[p]:[r.Qz],[s]:[r.TE],[h]:[i.gg],[m]:[r.DC,r.RZ],[d]:[i.F,i.mR],[c]:[i.qv],[u]:[i.Wq],[l]:[i.tc,i.ko],[g]:[r.tv]},v=(Object.entries(f),e=>e===r.Qz),y=e=>(0,o.includes)([r.DC,r.RZ],e),b=e=>e===r.wc,E=e=>(0,o.includes)([r.DC,r.RZ,r.Qz,r.wc,r.tv,r.tW],e),A=e=>(0,o.includes)([i.tc,i.ko],e),C=e=>e===i.Wq,S=e=>(0,o.includes)([i.gg,i.qv],e),w=e=>e===r.tv,O=e=>e===r.tW},47773:(e,t,n)=>{"use strict";function o(e){return e.displayName||e.name||"Component"}n.d(t,{A:()=>o})},22551:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var o=n(38369);const r=e=>{let{route:t,topology:n,shouldNavigateToFeed:r}=e;const{sectionUrl:i,postPageSectionUrl:a,baseUrl:s}=n,l=(0,o.CD)(s),u=r?l===t?l:(0,o.CD)(i):(0,o.CD)(a);return t.startsWith(u)?t.slice(u.length):t}},19767:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});const o=(e,t)=>`${e}/tags/${t}`},27101:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});const o=e=>{let{t,role:n}=e;switch(n){case"owner":return t("badge.owner");case"admin":return t("badge.admin");case"writer":return t("badge.writer");case"editor":return t("badge.editor");default:return}}},92647:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});const o=()=>"undefined"!=typeof window&&window.top!==window.self},18772:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(16252);const r=()=>{const e=Object.keys(window).find((e=>e.includes("PIN")&&(0,o.has)(window[e],"f.listen")));return window[e]};let i;const a=e=>t=>{const n=e.f.getEl(t||e.w.event);e.f.canHazButton(n)&&e.f.getData(n,"url")?(e.v.hazHoverButton||(e.v.hazHoverButton=!0),e.f.showHoverButton(n),(e=>{const t=(0,o.get)(e,"s.hoverButton.style");t&&(t.zIndex=10)})(e)):e.v.hazHoverButton&&n!==e.s.hoverButton&&(e.v.hazHoverButton=!1,e.f.kill(e.s.hoverButton))},s=function(e){void 0===e&&(e=5);const t=r();t?(i=a(t),t.f.listen(document.body,"mouseover",i)):e&&setTimeout((()=>s(e-1)),200)},l={init:e=>{let{isMobile:t,isPinterestEnabled:n,language:o}=e;if("undefined"==typeof window||t||!n)return;const r="pinterest-pin-script";if(window.PinUtils||document.getElementById(r))return s();const i=document.createElement("script");i.setAttribute("src","//assets.pinterest.com/js/pinit.js"),i.setAttribute("data-pin-save","true"),i.setAttribute("data-pin-lang",o),i.async=!0,i.onload=()=>s(),i.id=r,document.querySelector("body").appendChild(i)},removeEventListener:()=>{if(!i)return;const e=r();e&&e.f.listen(document.body,"mouseover",i,!0),i=void 0}}},99212:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,g:()=>r});const o={COMMON_PADDING_TOP:28,COMMON_PADDING_BOTTOM:25,SLIDER_PADDING_TOP:16,SLIDER_PADDING_BOTTOM:24,HEADER_HEIGHT:34,HEADER_MARGIN_BOTTOM:18,FOOTER_CONTENT_HEIGHT:18,FOOTER_SEPARATOR_MARGIN:15,FOOTER_PADDING_TOP:8,COMMON_TITLE_MARGIN:11,DEFAULT_TITLE_MARGIN:10,SLIDER_TITLE_MARGIN_TOP:10,CATEGORY_LABEL_MARGIN_BOTTOM:12,SLIDER_CATEGORY_LABEL_MARGIN_BOTTOM:2,BORDER_WIDTH:1},r=()=>({"--blog-pl-common-padding-top":`${o.COMMON_PADDING_TOP}px`,"--blog-pl-common-padding-bottom":`${o.COMMON_PADDING_BOTTOM}px`,"--blog-pl-slider-padding-top":`${o.SLIDER_PADDING_TOP}px`,"--blog-pl-slider-padding-bottom":`${o.SLIDER_PADDING_BOTTOM}px`,"--blog-pl-header-height":`${o.HEADER_HEIGHT}px`,"--blog-pl-header-margin-bottom":`${o.HEADER_MARGIN_BOTTOM}px`,"--blog-pl-footer-content-height":`${o.FOOTER_CONTENT_HEIGHT}px`,"--blog-pl-footer-separator-margin":`${o.FOOTER_SEPARATOR_MARGIN}px`,"--blog-pl-footer-padding-top":`${o.FOOTER_PADDING_TOP}px`,"--blog-pl-common-title-margin":`${o.COMMON_TITLE_MARGIN}px`,"--blog-pl-default-title-margin":`${o.DEFAULT_TITLE_MARGIN}px`,"--blog-pl-slider-title-margin-top":`${o.SLIDER_TITLE_MARGIN_TOP}px`,"--blog-pl-category-label-margin-bottom":`${o.CATEGORY_LABEL_MARGIN_BOTTOM}px`,"--blog-pl-slider-category-label-margin-bottom":`${o.SLIDER_CATEGORY_LABEL_MARGIN_BOTTOM}px`})},67606:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var o=n(31363);function r(){return"undefined"!=typeof window?window.document.getElementsByClassName(o.A.scrollable)[0]||window.document.body:null}},22697:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var o=n(16252),r=n(46424);const i=n.n(r)().filter((e=>"create-post"!==e)),a=function(e,t){void 0===t&&(t=i);const n=(e=>(0,o.trimStart)(e,"/").split("/")[0].split("?")[0])((0,o.isObject)(e)?e.pathname:e);return""===n||t.includes(n)}},93731:(e,t,n)=>{"use strict";n.d(t,{hV:()=>o});n(16252),n(72859);const o=e=>{let{currentState:t,currentVersions:n,newState:o,newVersions:r,currentControllerId:i,newControllerId:a}=e;if(a(n[o]===r[o]&&(e[o]=t[o]),e)),{...o})}},78411:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var o=n(92647);const r=()=>{},i={addEventListener:r,getAdsOnPage:r,isApplicationInstalled:(e,t)=>t(!1),removeEventListener:r,currentMember:e=>e(null),requestLogin:r,logOutCurrentMember:r,closeWindow:r,setHeight:r,resizeComponent:r,getBoundingRectAndOffsets:r,WindowOrigin:{},WindowPlacement:{},getCurrentPageId:e=>e("pageId"),getSitePages:()=>[{id:"/"}],getSiteInfo:r,navigateToPage:r,scrollTo:r,getSiteMap:e=>e([]),getPublicAPI:r,getSiteTextPresets:r,Events:{},PubSub:{publish:r,subscribe:r,unsubscribe:r},openPopup:r,Utils:{getUid:()=>"00000000-0000-0000-0000-000000000001",getSiteOwnerId:()=>"00000000-0000-0000-0000-000000000001",getSectionUrl:()=>`${window.location.protocol}//${window.location.host}/`,getInstanceId:()=>"33750584-5cda-44e1-8738-62a9139347b3",getInstanceValue:()=>"00000000-0000-0000-0000-000000000000",getViewMode:()=>"",navigateToSection:r},Performance:{applicationLoaded:r,applicationLoadingStep:r},Theme:{BARE:0},Styles:{getSiteTextPresets:r,getSiteColors:r,getStyleParams:e=>e({})},Dashboard:{getEditorUrl:r},Settings:{setHelpArticle:r,triggerSettingsUpdatedEvent:r},Metadata:{removeAppMetadata:r,setAppMetadata:r}},a=()=>(0,o.m)()&&window.Wix||i,s={get:(e,t)=>a()[t]},l=new Proxy(a(),s)},11859:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});const o=e=>e.appLoaded.hasReported},81809:(e,t,n)=>{"use strict";n.d(t,{w:()=>r});var o=n(16252);const r=(0,n(24885).Mz)((e=>e.auth),(e=>(0,o.get)(e,"isAuthenticated")))},72859:(e,t,n)=>{"use strict";n.d(t,{DY:()=>p,IC:()=>g,ID:()=>c,KV:()=>h,Lz:()=>a,Md:()=>S,Ny:()=>b,YC:()=>C,Z0:()=>u,Zr:()=>A,_o:()=>m,ah:()=>y,bU:()=>v,fH:()=>E,fU:()=>d,iE:()=>l,sb:()=>f});var o=n(16252),r=n(31386);const i=e=>e.basicParams||{},a=e=>i(e).viewMode,s=e=>i(e).formFactor,l=e=>i(e).instance,u=e=>i(e).language||"en",c=e=>i(e).url,d=e=>i(e).isSSR,p=e=>i(e).isRTL,m=e=>i(e).isDebug,h=e=>i(e).isProduction,g=e=>a(e)===r.GM,f=e=>a(e)===r.Mm,v=e=>a(e)===r.vv,y=e=>i(e).isSeo,b=e=>"Mobile"===s(e),E=e=>"Mobile"!==s(e),A=e=>{const t=i(e).biPageNumber;return void 0!==t&&1===t},C=e=>(0,o.get)((e=>(0,o.get)(i(e),"currentPage"))(e),"name",""),S=e=>(0,o.get)(i(e),"timeZone")},85467:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var o=n(16252),r=n(81693);const i=(e,t)=>((e,t)=>(0,o.get)(e,t,{}))((e=>e.communitiesContext)(e),t),a=e=>Boolean(i(e,r.SANTA_MEMBERS_APP_ID).isInstalled)},53593:(e,t,n)=>{"use strict";n.d(t,{s:()=>o});const o=e=>e.isPostInPreview},78923:(e,t,n)=>{"use strict";n.d(t,{Bi:()=>i,d3:()=>s,f4:()=>a,r9:()=>l});var o=n(16252);const r=(e,t)=>e.postCounters[t],i=(e,t)=>(0,o.get)(r(e,t),"viewCount",0),a=(e,t)=>(0,o.get)(r(e,t),"viewCountFormatted"),s=(e,t)=>(0,o.get)(r(e,t),"totalComments",0),l=(e,t)=>(0,o.get)(r(e,t),"totalCommentsFormatted")},2523:(e,t,n)=>{"use strict";n.d(t,{D_:()=>s,Gu:()=>a,Lv:()=>l,Uf:()=>i});var o=n(16252);const r=(e,t)=>e.postLikes[t]||{isLiked:!1,likeCount:0},i=(e,t)=>(0,o.get)(r(e,t),"isLiked",!1),a=(e,t)=>(0,o.get)(r(e,t),"isLikeInProgress",!1),s=(e,t)=>(0,o.get)(r(e,t),"likeCount",0),l=(e,t)=>(0,o.get)(r(e,t),"likeCountFormatted")},70856:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r,h:()=>o});const o=(e,t)=>{var n;return null==(n=e.postRatings[t])?void 0:n.averageRating},r=(e,t)=>{var n;return null==(n=e.postRatings[t])?void 0:n.totalRatings}},81929:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});const o=e=>e.translations||{}},12684:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(73817),l=n(44773),u=n(98421),c=n(211),d=n(16673),p=n(26444);const m=(0,c.A)(s.A),h=[s.A.TYPE_FULL_WIDTH_MOBILE,s.A.TYPE_SMALL_SPACINGS_MOBILE,s.A.TYPE_LARGE],g=(0,d.A)((e=>{let{categorySlug:t,t:n,hidePostfix:o,className:i,wrapperClassName:s}=e;return r().createElement(u.A,{categorySlug:t},r().createElement(m,{type:h,className:a()([p.A.wrapper,s]),"data-hook":"create-post"},r().createElement("span",{className:p.A.container},r().createElement("span",{className:a()(["create-post-button-label",i])},n("create-post-button.label")),!o&&r().createElement(l.c,{className:"blog-button-primary-icon-fill"}))))}))},76558:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(12684)},24845:(e,t,n)=>{"use strict";n.d(t,{A:()=>$});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(16252),c=n(79862),d=n(74740),p=n(93396),m=n(68701),h=n(73428),g=n(62445);const f="pAfFB0",v=e=>{let{contentState:t,excerpt:n,maxLength:o}=e;const r=n?n.slice(0,o):(0,g.getContentText)(t).slice(0,o);return a().createElement("p",{className:f,"data-hook":"post-description"},r)},y={container:"_4BhfeI"},b=e=>{let{content:t,excerpt:n,type:o,lineCount:r,maxLength:i,autoFit:s}=e;const u=l()(y.container,y[o],"post-excerpt"),c=s?"parent":r;return a().createElement("div",{className:u},a().createElement(h.A,{clamp:c,useExactLineHeight:!0},a().createElement(v,{contentState:t,excerpt:n,maxLength:i})))};var E=n(91165),A=n(44559),C=n(45456),S=n(87764),w=n(57106),O=n(8778),N=n(87592);const P="WEXloj",L=e=>{let{post:{content:t,excerpt:n},lineCount:o}=e;return a().createElement("div",null,a().createElement(h.A,{clamp:"auto",useExactLineHeight:!0,maxLineCount:o,className:P},a().createElement(v,{contentState:t,excerpt:n,maxLength:p.TT})))};var I=n(20915),T=n(38579),_=n(35002),x=n(69847),D=n(96675),k=n(6527),R=n(971),M=n(58569),B=n(76917),F=n(76058),U=n(85347),j=n(1408),G=n(73723),W=n(14509),H=n(77960),z=n(72859),V=n(85467),J=n(70856),Z=n(97869),K=n(47209);const $=(0,u.flowRight)(M.A,k.A,B.A,D.A,R.A,x.A,_.A,(0,I.Ng)(((e,t,n)=>{let{post:o,canSee:r}=t;const i=(0,z.DY)(e),a=(0,F.$M)(e,i),s=(0,H.m)({post:o,canSee:r,enableShare:!0,enableSubscribe:(0,V.g)(e)}),l=Boolean(s.length);return{showMoreButton:l,section:(0,j.S)(e),isMoreButtonEnabled:(0,F.Vd)(e,l),navigateProGalleryWithinPostPage:n.navigateProGalleryWithinPostPage,alignment:(0,G.j)(a,i),isRTL:i,postAverageRating:(0,J.h)(e,(0,m.S)(o)),postTotalRatings:(0,J.Z)(e,(0,m.S)(o))}})))((e=>{let{type:t,post:n,onLikeClick:o,itemConfig:i,borderWidth:s,titleFontClassName:u,contentFontClassName:m,contentFontClassNameWithStyle:h,postTitleFontSize:g,postDescriptionFontSize:f,postMetadataFontSize:v,isMetadataFooterVisible:y=!0,isMetadataHeaderVisible:P=!0,showMoreButton:I,showPostDescription:_,applyFeedDesign:x,getPostClassName:D,index:k,isMoreButtonEnabled:R,can:M,navigateProGalleryWithinPostPage:B,alignment:F,isRTL:j,showCategoryLabel:G,showPostRating:H,isMobile:z,section:V,postAverageRating:J,postTotalRatings:$}=e;const{shouldRender:q}=(0,c.Al)(n),Y=(0,W.jz)(i,q),X=`/${n.slug}`,Q=t===d.JQ&&q,ee=(0,d.KN)(t),te=(0,d.IG)(t),ne=!y,oe=!P,re=!_,ie=t===d.JQ,ae=l()(K.A.container,ee&&K.A.proGallery,K.A[t],Z.A[F],q&&K.A.withCover,ne&&K.A.withoutFooter,m,"blog-text-color","blog-card-background-color","blog-card-border-color","post-list-item",!x&&!(0,d.NN)(t)&&"blog-hover-container",!(0,d.NN)(t)&&D("hover-container"),D("border-color","post-container",(0,W.hw)(t,"background-color")),te&&k>0&&K.A.newPadding),se=l()(K.A.contentWrapper,K.A[t],j&&Z.A.isRTL,!x&&(0,d.NN)(t)&&K.A.withBackground,q&&K.A.withCover,ne&&K.A.withoutFooter,"post-list-item-wrapper",(0,d.NN)(t)&&D("overlay-background-color"),D("description-font",(0,W.hw)(t,"description-color"),(0,W.hw)(t,"description-fill")),te?K.A.newPadding:K.A.boxShadow),le=l()(te?K.A.mobileWrapper:K.A.textWrapper,D("link-hashtag-hover-color"),K.A[t]),ue=l()(K.A.titleWrapper,ee&&K.A.proGallery,K.A[t],oe&&K.A.withoutHeaderMetadata,n.isPinned&&K.A.withIcons,I&&R?K.A.withShowMoreButton:K.A.withoutShowMoreButton),ce=l()(K.A.title,u,K.A[t],Z.A.textAlign,q&&K.A.withCover,ne&&K.A.withoutFooter,oe&&K.A.withoutHeaderMetadata,re&&ne&&K.A.withoutBottomMargin,re&&K.A.withoutDescription,n.isPinned&&K.A.withIcons,I&&R?K.A.withShowMoreButton:K.A.withoutShowMoreButton,G&&K.A.withCategoryLabel),de=l()(D("title-font",(0,W.hw)(t,"title-color")),ie&&K.A.responsiveTitle),pe=l()(K.A.category,K.A[t],oe&&K.A.withoutHeaderMetadata),me=l()(K.A.content,K.A[t],Z.A.textAlign,ne&&K.A.withoutFooter,h,oe&&K.A.withoutHeaderMetadata,D("description-style-font"),K.A.excerptLink),he=l()(m,D("description-font"),Z.A.headerContainer),ge=l()(D("description-font",(0,W.hw)(t,"description-color"))),fe=te?{fontSize:g}:{},ve=!x||te?{fontSize:f}:{},ye=ee?{...(0,U.$t)(n)&&{background:"transparent"},borderWidth:0}:{borderWidth:s};return a().createElement("article",{className:ae,tabIndex:"0",style:ye,"data-hook":"post-list-item"},q&&(()=>{const e={post:n,postLink:X,type:t,canPlayVideo:!0,isPublic:M("share","post",n),videoClassName:l()(K.A.videoEmbed),imageClassName:l()(K.A.image),useAlternateDimesions:ne,...ie?{height:518,width:690,withoutContainerStyle:!0}:{}},o=a().createElement(S.A,e);return ie?a().createElement("div",{className:K.A.coverContainer},a().createElement("div",{className:K.A.coverWrapper},o)):o})(),a().createElement("div",{className:se},a().createElement(w.A,{className:he,post:n,showMoreButton:R,showProfileImage:!(0,d.NN)(t),style:{fontSize:v},type:t}),G&&a().createElement("div",{className:pe},a().createElement(C.A,{className:Z.A.categoryLabel,post:n,postListLayout:t})),a().createElement("div",{className:le,style:{display:"flex-inline"}},a().createElement(E.A,{fullRoute:n.link,to:X,className:ue,addHoverClasses:!1},a().createElement("div",{style:{fontSize:g},className:ce,"data-hook":"post-list-item__title"},a().createElement(O.A,r()({fullRoute:n.link,type:t,title:n.title,style:fe,className:de},ie?{}:{lineCount:Y.title},{showCategoryLabel:G})),H&&$?a().createElement(N.A,{className:l()(K.A.rating,K.A[V],K.A[t],Z.A.rating,{[K.A.withoutFooter]:ne,[K.A.withTextOnImageStyles]:(0,d.NN)(t)}),rating:J,count:$,layout:z?N.Z.with_range:N.Z.count_only}):null)),_&&Y.description?a().createElement("div",{style:ve,className:me,"data-hook":"post-description",onClick:()=>B(n.slug)},ie?a().createElement(L,{post:n}):a().createElement(b,{type:t,content:n.content,excerpt:n.excerpt,lineCount:Y.description,autoFit:Q,maxLength:p.TT})):null),y&&a().createElement("div",{className:l()(K.A.footer,K.A[t],!q&&K.A.withoutCover)},!te&&a().createElement(T.ns,{className:l()(K.A.separator,K.A[t])}),a().createElement("div",{style:{fontSize:v}},a().createElement(A.A,{post:n,onLikeClick:o,displayIcons:i.displayFooterIcons,className:ge,commentClassName:l()(D("link-hashtag-hover-color"))}))),te&&a().createElement(T.ns,{className:l()(K.A.separator,K.A.mobileSeparator,K.A[t],y&&K.A.withMetadata)})))}))},77599:(e,t,n)=>{"use strict";n.d(t,{A:()=>K});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(16252),l=n(79862),u=n(74740),c=n(68701),d=n(95403),p=n(78304),m=n.n(p);const h=e=>r().createElement("svg",m()({xmlns:"http://www.w3.org/2000/svg",width:"19",viewBox:"0 0 19 19",role:"img"},e),r().createElement("path",{d:"M2.44398805,5.99973295 C1.62345525,5.9690612 0.980075653,5.28418875 1.00047182,4.46312144 C1.02086799,3.64205413 1.69745853,2.98998831 2.51850166,3.0001164 C3.33954478,3.01024449 3.99985313,3.67880182 4,4.50012255 C3.98424812,5.34399206 3.28763905,6.0153508 2.44398805,5.99973295 L2.44398805,5.99973295 Z M2.44398805,10.9997329 C1.62345525,10.9690612 0.980075653,10.2841888 1.00047182,9.46312144 C1.02086799,8.64205413 1.69745853,7.98998831 2.51850166,8.0001164 C3.33954478,8.01024449 3.99985313,8.67880182 4,9.50012255 C3.98424812,10.3439921 3.28763905,11.0153508 2.44398805,10.9997329 L2.44398805,10.9997329 Z M2.44398805,15.9997329 C1.62345525,15.9690612 0.980075653,15.2841888 1.00047182,14.4631214 C1.02086799,13.6420541 1.69745853,12.9899883 2.51850166,13.0001164 C3.33954478,13.0102445 3.99985313,13.6788018 4,14.5001225 C3.98424812,15.3439921 3.28763905,16.0153508 2.44398805,15.9997329 L2.44398805,15.9997329 Z",transform:"rotate(90) translate(7, -19)"}));var g=n(84468),f=n(91165),v=n(77445),y=n(70891),b=n(54138),E=n(45456),A=n(87764),C=n(57106),S=n(8778),w=n(87592),O=n(20915),N=n(38579),P=n(5504),L=n(6899),I=n(69847),T=n(96675),_=n(6527),x=n(971),D=n(44886),k=n(58569),R=n(76917),M=n(76058),B=n(1408),F=n(73723),U=n(14509),j=n(77960),G=n(72859),W=n(85467),H=n(78923),z=n(70856),V=n(97869),J=n(47209);const Z={container:"HLTpGi",flexContainer:"e7MTRm",pullImageLeft:"Eh6y5W",titleContainer:"uQfB_j",title:"XHCoob","with-category-label":"h2vkAZ",withCategoryLabel:"h2vkAZ",imageContainer:"Uyo3C3",rightMargin:"mACGUD",moreButton:"FZQqq1",moreButtonUnderCover:"JBIDX5",moreButtonInHeading:"tXgYev",image:"qoUizN",header:"_70Aum",footer:"p1Z4NQ",socialButtons:"hVP60S",socialButton:"dFwBxR",separator:"YOXOuw",withoutFooter:"H0yVSw",icons:"THUnVE",rating:"fHat_E","text-on-image-mobile":"ZAm1sF",textOnImageMobile:"ZAm1sF","side-by-side-mobile":"s641BQ",sideBySideMobile:"s641BQ"},K=(0,s.flowRight)(D.A,k.A,_.A,R.A,T.A,I.A,x.A,L.A,(0,O.Ng)(((e,t)=>{let{post:n,canSee:o}=t;const r=(0,G.DY)(e),i=(0,M.$M)(e,r),a=(0,j.m)({post:n,canSee:o,enableShare:!0,enableSubscribe:(0,W.g)(e)}),s=(0,B.S)(e),l=Boolean(a.length),u=(0,c.S)(n);return{showMoreButton:l,section:s,sideBySideLayoutImagePosition:(0,M.$n)(e,s),isMoreButtonEnabled:(0,M.Vd)(e,l),viewCount:(0,H.Bi)(e,u),totalComments:(0,H.d3)(e,u),alignment:(0,F.j)(i,r),isRTL:r,postAverageRating:(0,z.h)(e,(0,c.S)(n)),postTotalRatings:(0,z.Z)(e,(0,c.S)(n))}})))((e=>{let{borderWidth:t,contentFontClassName:n,forPublicUser:o,getPostClassName:i,iconColorClassName:s,itemConfig:p,onLikeClick:m,post:O,postMetadataFontSize:L,postTitleFontSize:I,showCommentCount:T=!0,showLikeCount:_=!0,showViewCount:x=!0,sideBySideLayoutImagePosition:D,titleFontClassName:k,type:R,showMoreOptionsMenu:M,isMoreButtonEnabled:B,showAuthorName:F,showReadingTime:j,showPublishDate:G,viewCount:W,totalComments:H,can:z,showCategoryLabel:K,alignment:$,isRTL:q,showPostRating:Y,postTotalRatings:X,postAverageRating:Q,section:ee}=e;const{shouldRender:te}=(0,l.Al)(O),ne=(0,U.jz)(p,te),oe=`/${O.slug}`,re=a()(Z.container,V.A[$],n,"blog-text-color","blog-card-background-color","blog-card-border-color","post-list-item",i("border-color","post-container",(0,U.hw)(R,"background-color"))),ie=a()(Z.flexContainer,D===u.W5.ImageLeft&&Z.pullImageLeft,q&&V.A.isRTL),ae=a()(Z.textWrapper,O.isPinned&&Z.withIcons),se=a()(Z.header,n,V.A.headerContainer),le={fontSize:I},ue=T&&(H>0||!O.isCommentsDisabled),ce=`more-button-${(0,c.S)(O)}`,de=a()(i("description-font",(0,U.hw)(R,"description-color")),Z.footer),pe=_||ue||x,me=D===u.W5.ImageNone,he=B||pe||!me,ge=B&&!pe&&me,fe=(0,l.Al)(O).shouldRender&&!me,ve=a()(Z.imageContainer,D===u.W5.ImageLeft&&Z.rightMargin),ye=r().createElement(h,{className:a()(s,"blog-hover-container-element-fill")}),be=M&&ge&&!he&&B,Ee=be||F||j||G,Ae=he?Z.separator:a()(Z.separator,Z.withoutFooter);return r().createElement("article",{className:re,tabIndex:"0",style:{borderWidth:t},"data-hook":"post-list-item"},r().createElement("div",{className:ie},r().createElement("div",{className:a()(Z.titleContainer,V.A.textAlign)},r().createElement(f.A,{to:oe,className:ae,addHoverClasses:!1},r().createElement(S.A,{type:R,title:O.title,lineCount:ne.title,style:le,className:a()(Z.title,k,K&&Z.withCategoryLabel)})),K&&r().createElement(E.A,{className:V.A.categoryLabel,post:O,postListLayout:R}),Y&&X?r().createElement(w.A,{className:a()(J.A.rating,J.A[ee],Z.rating,Z[R],V.A.rating),rating:Q,count:X,layout:w.Z.with_range}):null,Ee&&r().createElement(C.A,{className:se,fixedMetadataHeight:!1,post:O,showHeaderIcons:!1,showMoreButton:be,showProfileImage:!1,style:{fontSize:L},moreButtonIcon:ye,moreButtonClass:Z.moreButtonInHeading,type:R})),fe&&r().createElement("div",{className:ve},r().createElement(A.A,{post:O,postLink:oe,type:R,canPlayVideo:!0,isPublic:z("share","post",O),videoClassName:Z.videoEmbed,imageClassName:Z.image,isMobile:!0}))),he&&r().createElement("div",{className:de},pe&&r().createElement("div",{className:Z.socialButtons,style:{fontSize:L}},_&&r().createElement("div",{className:Z.socialButton},r().createElement(g.A,{onClick:o((()=>m((0,c.S)(O)))),entity:O,className:"post-footer__like-button",showZero:!0,switchCounterAndButton:!0})),x&&r().createElement("div",{className:a()("description-font",Z.socialButton)},r().createElement(P.A,{count:W,tabIndex:0})),ue&&r().createElement("div",{className:a()("description-font",Z.socialButton)},r().createElement(d.A,{displayIcons:p.displayFooterIcons,count:H,showZero:!0,tabIndex:0}))),r().createElement(b.A,{post:O,className:Z.icons,iconClassName:"blog-button-fill"}),B&&r().createElement("div",{className:"blog-more-icon-fill"},r().createElement(v.e,{className:Z.moreButton,id:ce,icon:ye},(async()=>{const e=await(0,y.x)();return r().createElement(e,{post:O})})))),r().createElement(N.ns,{className:Ae}))}))},86832:(e,t,n)=>{"use strict";n.d(t,{A:()=>k});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(16252),l=n(68701),u=n(44559),c=n(45456),d=n(87764),p=n(57106),m=n(8778),h=n(87592),g=n(20915),f=n(38579),v=n(69847),y=n(96675),b=n(6527),E=n(971),A=n(58569),C=n(76917),S=n(76058),w=n(1408),O=n(73723),N=n(14509),P=n(77960),L=n(72859),I=n(85467),T=n(70856),_=n(97869),x=n(47209);const D={container:"C5n4nu",homepage:"k_3lfC",category:"eW___4",header:"xZ0Ni7",title:"R7pzO1",contentWrapper:"pqsREx",image:"XBPfVh",videoEmbed:"SIFL3n",link:"wKAbJd","text-on-image-seperator-background-color":"QJW4X8",textOnImageSeperatorBackgroundColor:"QJW4X8",separator:"fvrZpT",rating:"YxgvEz","text-on-image-mobile":"oUyTKX",textOnImageMobile:"oUyTKX","side-by-side-mobile":"m3JDTN",sideBySideMobile:"m3JDTN"},k=(0,s.flowRight)(A.A,b.A,C.A,y.A,E.A,v.A,(0,g.Ng)(((e,t)=>{let{post:n,canSee:o}=t;const r=(0,L.DY)(e),i=(0,S.$M)(e,r),a=(0,P.m)({post:n,canSee:o,enableShare:!0,enableSubscribe:(0,I.g)(e)}),s=Boolean(a.length);return{showMoreButton:s,section:(0,w.S)(e),isMoreButtonEnabled:(0,S.Vd)(e,s),alignment:(0,O.j)(i,r),isRTL:r,postAverageRating:(0,T.h)(e,(0,l.S)(n)),postTotalRatings:(0,T.Z)(e,(0,l.S)(n))}})))((e=>{let{type:t,post:n,onLikeClick:o,itemConfig:i,borderWidth:s,titleFontClassName:l,contentFontClassName:g,postTitleFontSize:v,postMetadataFontSize:y,isMetadataFooterVisible:b=!0,getPostClassName:E,isMoreButtonEnabled:A,can:C,showCategoryLabel:S,alignment:w,isRTL:O,showPostRating:P,section:L,postAverageRating:I,postTotalRatings:T}=e;const k=`/${n.slug}`,R=a()(D.container,D[L],_.A[w],g,"blog-text-color","blog-card-background-color","blog-card-border-color","post-list-item",E("border-color","post-container",(0,N.hw)(t,"background-color"))),M=a()(D.contentWrapper,_.A[w],O&&_.A.isRTL,"post-list-item-wrapper",E("overlay-background-color","description-font",(0,N.hw)(t,"description-color"),(0,N.hw)(t,"description-fill"))),B=a()("post-title__text",D.link,E("link-hashtag-hover-color")),F=a()(D.title,l,E("title-font",(0,N.hw)(t,"title-color"))),U=a()(D.header,g,E("description-font"),_.A.headerContainer),j=a()(E("description-font",(0,N.hw)(t,"description-color"))),G={fontSize:v},W=v>=24?3:4;return r().createElement("article",{className:R,tabIndex:"0",style:{borderWidth:s},"data-hook":"post-list-item"},r().createElement(d.A,{post:n,postLink:k,type:t,canPlayVideo:!0,isPublic:C("share","post",n),videoClassName:D.videoEmbed,imageClassName:D.image}),r().createElement("div",{className:M},r().createElement(p.A,{className:U,post:n,showMoreButton:A,showProfileImage:!1,style:{fontSize:y},type:t}),S&&r().createElement(c.A,{className:_.A.categoryLabel,post:n,postListLayout:t}),r().createElement("div",{className:_.A.textAlign},r().createElement(m.A,{type:t,title:n.title,style:G,className:F,to:k,linkClassName:B,lineCount:b?W:W+1}),P&&T?r().createElement(h.A,{className:a()(x.A.rating,x.A[L],D.rating,D[t],_.A.rating,[D.withTextOnImageStyles]),rating:I,count:T,layout:h.Z.with_range}):null),b&&r().createElement("div",{style:{fontSize:y}},r().createElement(f.ns,{className:a()(D.separator)}),r().createElement(u.A,{post:n,onLikeClick:o,displayIcons:i.displayFooterIcons,className:j,commentClassName:a()(E("link-hashtag-hover-color"))}))))}))},77969:(e,t,n)=>{"use strict";n.d(t,{A:()=>O});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(68701),l=n(34672),u=n(20915),c=n(72859),d=n(76558),p=n(85707),m=n.n(p),h=n(16252),g=n(62688),f=n.n(g);let v,y;class b extends o.Component{constructor(e){if(super(e),m()(this,"masonry",!1),m()(this,"erd",void 0),m()(this,"latestKnownDomChildren",[]),m()(this,"imagesLoadedCancelRef",void 0),m()(this,"setRef",(e=>this.masonryContainer=e)),void 0===v){const e="undefined"!=typeof window;v=e?window.Masonry||n(69470):null,y=e?n(15939):null}}initializeMasonry(e){this.masonry&&!e||(this.masonry=new v(this.masonryContainer,this.props.options),this.props.onLayoutComplete&&this.masonry.on("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.on("removeComplete",this.props.onRemoveComplete),this.latestKnownDomChildren=this.getCurrentDomChildren())}getCurrentDomChildren(){var e,t;const n=this.masonryContainer,o=null!=(e=this.props.options)&&e.itemSelector?n.querySelectorAll(null==(t=this.props.options)?void 0:t.itemSelector):n.children;return Array.prototype.slice.call(o)}diffDomChildren(){let e=!1;const t=this.latestKnownDomChildren.filter((e=>{let{parentNode:t}=e;return!!t}));t.length!==this.latestKnownDomChildren.length&&(e=!0);const n=this.getCurrentDomChildren(),o=t.filter((e=>!~n.indexOf(e))),r=n.filter((e=>!~t.indexOf(e)));let i=0;const a=r.filter((e=>{const t=i===n.indexOf(e);return t&&i++,t})),s=r.filter((e=>!a.includes(e)));let l=[];return 0===o.length&&(l=t.filter(((e,t)=>t!==n.indexOf(e)))),this.latestKnownDomChildren=n,{old:t,new:n,removed:o,appended:s,prepended:a,moved:l,forceItemReload:e}}performLayout(){const e=this.diffDomChildren();let t=e.forceItemReload||e.moved.length>0;e.removed.length>0&&(this.masonry.remove(e.removed),t=!0),e.appended.length>0&&(this.masonry.appended(e.appended),0===e.prepended.length&&(t=!0)),e.prepended.length>0&&this.masonry.prepended(e.prepended),t&&this.masonry.reloadItems(),this.masonry.layout()}derefImagesLoaded(){this.imagesLoadedCancelRef(),this.imagesLoadedCancelRef=void 0}imagesLoaded(){const{disableImagesLoaded:e=!1,updateOnEachImageLoad:t=!1,imagesLoadedOptions:n={},onImagesLoaded:o}=this.props;if(e)return;this.imagesLoadedCancelRef&&this.derefImagesLoaded();const r=t?"progress":"always",i=(0,h.debounce)((e=>{o&&o(e),this.masonry.layout()}),100),a=y(this.masonryContainer,n).on(r,i);this.imagesLoadedCancelRef=()=>{a.off(r,i),i.cancel()}}destroyErd(){this.erd&&this.latestKnownDomChildren.forEach(this.erd.uninstall,this.erd)}componentDidMount(){this.initializeMasonry(),this.imagesLoaded()}componentDidUpdate(){this.performLayout(),this.imagesLoaded()}componentWillUnmount(){this.destroyErd(),this.props.onLayoutComplete&&this.masonry.off("layoutComplete",this.props.onLayoutComplete),this.props.onRemoveComplete&&this.masonry.off("removeComplete",this.props.onRemoveComplete),this.imagesLoadedCancelRef&&this.derefImagesLoaded(),this.masonry.destroy()}render(){const e=(0,h.omit)(this.props,Object.keys(E));return r().createElement(this.props.elementType||"div",(0,h.assign)({},e,{ref:this.setRef}),this.props.children)}}const E={disableImagesLoaded:f().bool,onImagesLoaded:f().func,updateOnEachImageLoad:f().bool,options:f().object,imagesLoadedOptions:f().object,elementType:f().string,onLayoutComplete:f().func,onRemoveComplete:f().func,children:f().any},A=b;var C=n(31242);const S={transitionDuration:0,fitWidth:!1,gutter:32},w=e=>{let{isRTL:t}=e;return{...S,originLeft:!t}},O=(0,u.Ng)((e=>({isRTL:(0,c.DY)(e),isLiveSiteEditingEnabled:!(0,l.Rk)(e)})))((e=>{let{isRTL:t,category:n,posts:o,type:i,onLikeClick:l,showCreatePostAction:u,ItemComponent:c,itemConfig:p,isLiveSiteEditorEnabled:m}=e;return r().createElement(A,{className:a()(C.A.masonry,C.A[i]),options:w({isRTL:t}),"data-hook":"post-list"},u&&m&&r().createElement("div",{className:a()(C.A.listItem),key:"create-post"},r().createElement(d.A,{categorySlug:n&&n.slug})),o.map((e=>r().createElement("div",{className:a()(C.A.listItem,"post-list__post-list-item"),key:(0,s.S)(e),id:(0,s.S)(e)},r().createElement(c,{type:i,post:e,onLikeClick:l,itemConfig:p})))))}))},32613:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var o=n(60751),r=n.n(o),i=n(4452),a=n.n(i),s=n(68701),l=n(34672),u=n(20915),c=n(72859),d=n(76558);const p="F4xjlp",m=()=>r().createElement("div",{className:a()(p,"blog-card-background-color"),key:"create-post"},r().createElement(d.A,null));var h=n(31242);const g=(0,u.Ng)((e=>({isSeo:(0,c.ah)(e),isLiveSiteEditorEnabled:!(0,l.Rk)(e)})))((e=>{const{isSeo:t,posts:n,showCreatePostAction:o,isLiveSiteEditorEnabled:i}=e,l=n.map(((t,n)=>(e=>{const{post:t,type:n,onLikeClick:o,ItemComponent:i,itemConfig:l,index:u}=e,c=a()(h.A.listItemMobile,"post-list__post-list-item"),d=(0,s.S)(t);return r().createElement("div",{className:c,key:d,id:d,"data-id":d},r().createElement(i,{index:u,type:n,post:t,onLikeClick:o,itemConfig:l}))})({...e,post:t,index:n})));return t?r().createElement("div",{"data-hook":"post-list"},l):r().createElement("div",{"data-hook":"post-list"},o&&i&&r().createElement("div",{key:"create-post"},r().createElement(m,null)),l)}))},34301:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(85707),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(68701),c=n(63770),d=n(34672),p=n(20915),m=n(76558),h=n(31242);class g extends i.Component{constructor(){super(...arguments),r()(this,"renderPosts",(()=>{const{posts:e,type:t,onLikeClick:n,ItemComponent:o,itemConfig:r}=this.props;return e.map((e=>a().createElement("div",{key:(0,u.S)(e),"data-id":(0,u.S)(e),className:h.A.listItemContainer},a().createElement("div",{className:h.A.listItem},a().createElement(o,{type:t,post:e,onLikeClick:n,itemConfig:r})))))}))}renderHeader(){const{category:e,showCreatePostAction:t,entityCount:n,isLiveSiteEditorEnabled:o}=this.props;return!t&&n<=c.ix&&!o?a().createElement("div",{className:h.A.largeHeader}):a().createElement("div",{className:h.A.largeHeader},t&&a().createElement(m.A,{categorySlug:e&&e.slug}))}render(){const{type:e}=this.props;return a().createElement("div",{className:h.A[e],"data-hook":"post-list"},this.renderHeader(),a().createElement("div",{className:l()(h.A.list,h.A[e])},this.renderPosts()))}}const f=(0,p.Ng)((e=>({isLiveSiteEditorEnabled:!(0,d.Rk)(e)})))(g)},77666:(e,t,n)=>{"use strict";n.d(t,{we:()=>o});const o="my-posts-page"},59272:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});const o="post-list-widget"},7425:(e,t,n)=>{"use strict";n.d(t,{BK:()=>p,D4:()=>h,IO:()=>m,TZ:()=>g,Wb:()=>s,ip:()=>u});var o=n(8674),r=n(51880),i=n(67603),a=n(72859);const s=e=>(0,a.Ny)(e)&&(0,i.EV)(e,o.FT.appSettingsPath),l=e=>(0,r.EH)({state:e,key:s(e)?o.gN:o.ni,fallback:o.C8.text}),u=e=>l(e)===o.C8.text,c=e=>{const t=s(e),n=l(e);return{[o.C8.text]:t?o.lf:o.kz,[o.C8.button]:t?o.Kp:o.dl}[n]},d=(e,t)=>n=>{const o=c(n);return(0,r.EH)({state:n,key:o[e].appSettingsPath,fallback:o[e][t]})},p=e=>{const{textFont:t}=c(e);return(0,r.EH)({state:e,key:t.appSettingsPath})||{size:t.defaultSize}},m=d("verticalPadding","defaultPadding"),h=d("borderWidth","defaultWidth"),g=d("uppercase","defaultValue")},88613:(e,t,n)=>{"use strict";n.d(t,{A:()=>o.A});var o=n(64260)},64260:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(78304),r=n.n(o),i=n(60751),a=n.n(i),s=n(4452),l=n.n(s),u=n(16252),c=n(3790),d=n(10471),p=n(20915),m=n(38579),h=n(971),g=n(12772);const f=(0,u.flowRight)((0,p.Ng)(((e,t)=>{let{section:n}=t;return{section:n}})),h.A)((e=>{let{className:t,applyFeedDesign:n,getPostClassName:o,...i}=e;i.section=i.section||c.ti;const s={className:g.A.separator,...n?{separatorBackgroundColorClassName:l()(o("description-background-color"))}:{}};return a().createElement(d.A,r()({itemClassName:g.A.item,containerClassName:l()(g.A.container,t),separator:a().createElement(m.Ht,s)},i))}))},86498:(e,t,n)=>{"use strict";n.d(t,{Zb:()=>i,bl:()=>r,ev:()=>o});const o=746,r=900,i=26},69792:(e,t,n)=>{"use strict";n.d(t,{v:()=>r});var o=n(49777);const r=e=>"rtl"===(0,o.J)(e)},67921:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>xr});var o={};n.r(o),n.d(o,{default:()=>Nr});var r=n(60751),i=n.n(r);const a=new Map,s=e=>{const t=(n=e,Object.keys(n).filter((e=>void 0!==n[e])).sort().map((e=>`${e}=${n[e]}`)).join("&"));var n;if(a.has(t))return a.get(t);const o=(({language:e,country:t,...n})=>{if(void 0===Intl?.NumberFormat)throw new Error("Intl.NumberFormat is not available.");const o=(e=>e.split("-")[0])(e),r=t?`${o}-${t}`:e;return Intl.NumberFormat(r,{style:"currency",...n})})(e);return a.set(t,o),o};s.cache=a;const l={AC:"%N%n%O%n%A%n%C%n%Z",AD:"%N%n%O%n%A%n%Z %C",AE:"%N%n%O%n%A%n%S",AF:"%N%n%O%n%A%n%C%n%Z",AI:"%N%n%O%n%A%n%C%n%Z",AL:"%N%n%O%n%A%n%Z%n%C",AM:"%N%n%O%n%A%n%Z%n%C%n%S",AR:"%N%n%O%n%A%n%Z %C%n%S",AS:"%N%n%O%n%A%n%C %S %Z",AT:"%O%n%N%n%A%n%Z %C",AU:"%O%n%N%n%A%n%C %S %Z",AX:"%O%n%N%n%A%n%Z %C%n\xc5LAND",AZ:"%N%n%O%n%A%nAZ %Z %C",BA:"%N%n%O%n%A%n%Z %C",BB:"%N%n%O%n%A%n%C, %S %Z",BD:"%N%n%O%n%A%n%C - %Z",BE:"%O%n%N%n%A%n%Z %C",BF:"%N%n%O%n%A%n%C %X",BG:"%N%n%O%n%A%n%Z %C",BH:"%N%n%O%n%A%n%C %Z",BL:"%O%n%N%n%A%n%Z %C %X",BM:"%N%n%O%n%A%n%C %Z",BN:"%N%n%O%n%A%n%C %Z",BR:"%O%n%N%n%A%n%D%n%C-%S%n%Z",BS:"%N%n%O%n%A%n%C, %S",BT:"%N%n%O%n%A%n%C %Z",BY:"%O%n%N%n%A%n%Z, %C%n%S",CA:"%N%n%O%n%A%n%C %S %Z",CC:"%O%n%N%n%A%n%C %S %Z",CH:"%O%n%N%n%A%n%Z %C",CI:"%N%n%O%n%X %A %C %X",CL:"%N%n%O%n%A%n%Z %C%n%S",CN:"%Z%n%S%C%D%n%A%n%O%n%N",CO:"%N%n%O%n%A%n%D%n%C, %S, %Z",CR:"%N%n%O%n%A%n%S, %C%n%Z",CU:"%N%n%O%n%A%n%C %S%n%Z",CV:"%N%n%O%n%A%n%Z %C%n%S",CX:"%O%n%N%n%A%n%C %S %Z",CY:"%N%n%O%n%A%n%Z %C",CZ:"%N%n%O%n%A%n%Z %C",DE:"%N%n%O%n%A%n%Z %C",DK:"%N%n%O%n%A%n%Z %C",DO:"%N%n%O%n%A%n%Z %C",DZ:"%N%n%O%n%A%n%Z %C",EC:"%N%n%O%n%A%n%Z%n%C",EE:"%N%n%O%n%A%n%Z %C %S",EG:"%N%n%O%n%A%n%C%n%S%n%Z",EH:"%N%n%O%n%A%n%Z %C",ES:"%N%n%O%n%A%n%Z %C %S",ET:"%N%n%O%n%A%n%Z %C",FI:"%O%n%N%n%A%n%Z %",FK:"%N%n%O%n%A%n%C%n%Z",FM:"%N%n%O%n%A%n%C %S %Z",FO:"%N%n%O%n%A%nFO%Z %C",FR:"%O%n%N%n%A%n%Z %C",GB:"%N%n%O%n%A%n%C%n%Z",GE:"%N%n%O%n%A%n%Z %C",GF:"%O%n%N%n%A%n%Z %C %X",GG:"%N%n%O%n%A%n%C%nGUERNSEY%n%Z",GI:"%N%n%O%n%A%nGIBRALTAR%n%Z",GL:"%N%n%O%n%A%n%Z %C",GN:"%N%n%O%n%Z %A %C",GP:"%O%n%N%n%A%n%Z %C %X",GR:"%N%n%O%n%A%n%Z %C",GS:"%N%n%O%n%A%n%n%C%n%Z",GT:"%N%n%O%n%A%n%Z- %C",GU:"%N%n%O%n%A%n%C %Z",GW:"%N%n%O%n%A%n%Z %C",HK:"%S%n%C%n%A%n%O%n%N",HM:"%O%n%N%n%A%n%C %S %Z",HN:"%N%n%O%n%A%n%C, %S%n%Z",HR:"%N%n%O%n%A%n%Z %C",HT:"%N%n%O%n%A%nHT%Z %C",HU:"%N%n%O%n%C%n%A%n%Z",ID:"%N%n%O%n%A%n%C%n%S %Z",IE:"%N%n%O%n%A%n%D%n%C%n%S%n%Z",IL:"%N%n%O%n%A%n%C %Z",IM:"%N%n%O%n%A%n%C%n%Z",IN:"%N%n%O%n%A%n%C %Z%n%S",IO:"%N%n%O%n%A%n%C%n%Z",IQ:"%O%n%N%n%A%n%C, %S%n%Z",IR:"%O%n%N%n%S%n%C, %D%n%A%n%Z",IS:"%N%n%O%n%A%n%Z %C",IT:"%N%n%O%n%A%n%Z %C %S",JE:"%N%n%O%n%A%n%C%nJERSEY%n%Z",JM:"%N%n%O%n%A%n%C%n%S %X",JO:"%N%n%O%n%A%n%C %Z",JP:"\u3012%Z%n%S%n%A%n%C%n%O%n%N%",KE:"%N%n%O%n%A%n%C%n%Z",KG:"%N%n%O%n%A%n%Z %C",KH:"%N%n%O%n%A%n%C %Z",KI:"%N%n%O%n%A%n%S%n%C",KN:"%N%n%O%n%A%n%C, %S",KP:"%Z%n%S%n%C%n%A%n%O%n%N",KR:"%S %C%D%n%A%n%O%n%N%n%Z",KW:"%N%n%O%n%A%n%Z %C",KY:"%N%n%O%n%A%n%S %Z",KZ:"%Z%n%S%n%C%n%A%n%O%n%N",LA:"%N%n%O%n%A%n%Z %C",LB:"%N%n%O%n%A%n%C %Z",LI:"%O%n%N%n%A%n%Z %C",LK:"%N%n%O%n%A%n%C%n%Z",LR:"%N%n%O%n%A%n%Z %C",LS:"%N%n%O%n%A%n%C %Z",LT:"%O%n%N%n%A%n%Z %C",LU:"%O%n%N%n%A%n%Z %C",LV:"%N%n%O%n%A%n%S%n%C, %Z",MA:"%N%n%O%n%A%n%Z %C",MC:"%N%n%O%n%A%n%Z %C %X",MD:"%N%n%O%n%A%n%Z %C",ME:"%N%n%O%n%A%n%Z %C",MF:"%O%n%N%n%A%n%Z %C %X",MG:"%N%n%O%n%A%n%Z %C",MH:"%N%n%O%n%A%n%C %S %Z",MK:"%N%n%O%n%A%n%Z %C",MM:"%N%n%O%n%A%n%C, %Z",MN:"%N%n%O%n%A%n%C%n%S %Z",MO:"%A%n%O%n%N",MP:"%N%n%O%n%A%n%C %S %Z",MQ:"%O%n%N%n%A%n%Z %C %X",MT:"%N%n%O%n%A%n%C %Z",MU:"%N%n%O%n%A%n%Z%n%C",MV:"%N%n%O%n%A%n%C %Z",MW:"%N%n%O%n%A%n%C %X",MX:"%N%n%O%n%A%n%D%n%Z %C, %S",MY:"%N%n%O%n%A%n%D%n%Z %C%n%S",MZ:"%N%n%O%n%A%n%Z %C%S",NA:"%N%n%O%n%A%n%C%n%Z",NC:"%O%n%N%n%A%n%Z %C %X",NE:"%N%n%O%n%A%n%Z %C",NF:"%O%n%N%n%A%n%C %S %Z",NG:"%N%n%O%n%A%n%D%n%C %Z%n%S",NI:"%N%n%O%n%A%n%Z%n%C, %S",NL:"%O%n%N%n%A%n%Z %C",NO:"%N%n%O%n%A%n%Z %C",NP:"%N%n%O%n%A%n%C %Z",NR:"%N%n%O%n%A%n%S",NZ:"%N%n%O%n%A%n%D%n%C %Z",OM:"%N%n%O%n%A%n%Z%n%C",PA:"%N%n%O%n%A%n%C%n%S",PE:"%N%n%O%n%A%n%C %Z%n%S",PF:"%N%n%O%n%A%n%Z %C %S",PG:"%N%n%O%n%A%n%C %Z %S",PH:"%N%n%O%n%A%n%D, %C%n%Z %S",PK:"%N%n%O%n%A%n%D%n%C-%Z",PL:"%N%n%O%n%A%n%Z %C",PM:"%O%n%N%n%A%n%Z %C %X",PN:"%N%n%O%n%A%n%C%n%Z",PR:"%N%n%O%n%A%n%C PR %Z",PT:"%N%n%O%n%A%n%Z %C",PW:"%N%n%O%n%A%n%C %S %Z",PY:"%N%n%O%n%A%n%Z %C",RE:"%O%n%N%n%A%n%Z %C %X",RO:"%N%n%O%n%A%n%Z %S %C",RS:"%N%n%O%n%A%n%Z %C",RU:"%N%n%O%n%A%n%C%n%S%n%Z",SA:"%N%n%O%n%A%n%C %Z",SC:"%N%n%O%n%A%n%C%n%S",SD:"%N%n%O%n%A%n%C%n%Z",SE:"%O%n%N%n%A%n%Z %C",SG:"%N%n%O%n%A%nSINGAPORE %Z",SH:"%N%n%O%n%A%n%C%n%Z",SI:"%N%n%O%n%A%n%Z %C",SJ:"%N%n%O%n%A%n%Z %C",SK:"%N%n%O%n%A%n%Z %C",SM:"%N%n%O%n%A%n%Z %C",SN:"%N%n%O%n%A%n%Z %C",SO:"%N%n%O%n%A%n%C, %S %Z",SR:"%N%n%O%n%A%n%C%n%S",SV:"%N%n%O%n%A%n%Z-%C%n%S",SZ:"%N%n%O%n%A%n%C%n%Z",TA:"%N%n%O%n%A%n%C%n%Z",TC:"%N%n%O%n%A%n%C%n%Z",TH:"%N%n%O%n%A%n%D %C%n%S %Z",TJ:"%N%n%O%n%A%n%Z %C",TM:"%N%n%O%n%A%n%Z %C",TN:"%N%n%O%n%A%n%Z %C",TR:"%N%n%O%n%A%n%Z %C/%S",TV:"%N%n%O%n%A%n%C%n%S",TW:"%Z%n%S%C%n%A%n%O%n%N",TZ:"%N%n%O%n%A%n%Z %C",UA:"%N%n%O%n%A%n%C%n%S%n%Z",UM:"%N%n%O%n%A%n%C %S %Z",US:"%N%n%O%n%A%n%C, %S %Z",UY:"%N%n%O%n%A%n%Z %C %S",UZ:"%N%n%O%n%A%n%Z %C%n%S",VA:"%N%n%O%n%A%n%Z %C",VC:"%N%n%O%n%A%n%C %Z",VE:"%N%n%O%n%A%n%C %Z, %S",VG:"%N%n%O%n%A%n%C%n%Z",VI:"%N%n%O%n%A%n%C %S %Z",VN:"%N%n%O%n%A%n%C%n%S %Z",WF:"%O%n%N%n%A%n%Z %C %X",XK:"%N%n%O%n%A%n%Z %C",YT:"%O%n%N%n%A%n%Z %C %X",ZA:"%N%n%O%n%A%n%D%n%C%n%Z",ZM:"%N%n%O%n%A%n%Z %C"},u={"%N":"name","%O":"organization","%A":"addressLines","%D":"dependentLocality","%C":"locality","%S":"administrativeArea","%Z":"postalCode","%X":"sortingCode","%R":"postalCountry"},c=["AU","AT","BG","HR","CZ","DK","EE","FI","FR","DE","GR","HU","IS","IT","LV","LT","LU","NL","NZ","NO","PL","PT","RO","SK","SI","ES","SE","CH","TR","IE","JP","BR"],d=(e,t)=>{const n=[],o=e.addressLine2??e.addressLine_2??void 0;if(e.streetAddress){const t=(({name:e,number:t,apt:n},o)=>{if(!e&&!t)return"";if(!e||!t)return e||t;const r=n?`${t}-${n}`:t;return c.includes(o)?`${e} ${r}`.trim():`${r} ${e}`.trim()})(e.streetAddress,e.country);n.push(t)}else e.addressLine&&n.push(e.addressLine);return o&&n.push(o),{name:t?.fullName,organization:t?.company,postalCountry:e.country,administrativeArea:e.subdivision,locality:e.city,country:e.countryFullname,postalCode:e.postalCode,addressLines:n}},p=e=>"%"===e[0]&&"%n"!==e,m=e=>u[e],h=(e,t)=>"addressLines"===t?void 0!==e.addressLines&&e.addressLines.length>0:void 0!==e[t]&&""!==e[t],g=({address:e,addressContactDetails:t},{appendCountry:n=!0}={})=>{const o=d(e,t),r=(e=>{const t=[];let n=0;for(;n{const t=e?.toUpperCase();return t&&t in l?l[t]:"%N%n%O%n%A%n%C"})(e.country)),i=((e,t)=>{const n=[];let o=0;for(;o0&&p(n[n.length-1]),a=o===r.length-1||"%n"===r[o+1]||h(e,m(t[o+1]));i&&a&&n.push(r)}o+=1}for(;n.length>0&&"%n"===n[0];)n.shift();return n})(o,r);return((e,t,n)=>{const o=[];let r="";for(const n of t)if("%n"===n)r.length>0&&(o.push(r),r="");else if(p(n)){const t=m(n);if("postalCountry"===t)continue;if("addressLines"===t){e.addressLines&&e.addressLines.length>0&&(r+=e.addressLines[0],o.push(r),r="",2===e.addressLines.length&&o.push(e.addressLines[1]));continue}r+=e[t]}else r+=n;return r.length>0&&o.push(r),n.appendCountry&&e.country&&o.push(e.country),o})(o,i,{appendCountry:n})};var f=n(34629);var v=n(77172),y=n.n(v),b=n(26179),E=n.n(b),A=function(e){return e&&e.split("-")[0]},C=function(e,t,n,o){return new(n||(n=Promise))((function(r,i){function a(e){try{l(o.next(e))}catch(e){i(e)}}function s(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))},S=function(e,t){var n,o,r,i,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(r=2&i[0]?o.return:i[0]?o.throw||((r=o.return)&&r.call(o),0):o.next)&&!(r=r.call(o,i[1])).done)return r;switch(o=0,r&&(i=[2&i[0],r.value]),i[0]){case 0:case 1:r=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,o=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(r=a.trys,(r=r.length>0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]{const n=(0,r.useMemo)((()=>({errorMonitor:e})),[e]);return i().createElement(M.Provider,{value:n.errorMonitor,children:t})});var F,U,j=n(62688),G=n.n(j),W=i().createContext({ready:!1,set:null,get:null,getDefaultValue:null,reset:null,resetAll:null,publishEvent:null}),H=W.Consumer,z=function(e){function t(){var t=this.constructor,n=e.call(this,'\nSettingsProvider is not ready.\nUsually this case should be unreachable. \nIn case you face it use "context.ready: boolean" flag not determine if it possible to set/get params. \n')||this;return Object.setPrototypeOf(n,t.prototype),n}return(0,f.__extends)(t,e),t}(Error);!function(e){e.Set="set",e.Reset="reset",e.ResetAll="resetAll",e.PublishEvent="publishEvent"}(F||(F={})),function(e){e.Setting="Settings",e.Styles="Styles"}(U||(U={}));var V,J=function(e){function t(t,n){var o=this.constructor,r=e.call(this,"\nCan't modify ".concat(n," values from current environment.\nPlease make sure you are not using `").concat(n,".").concat(t,"(...)` from the widget part.\n"))||this;return Object.setPrototypeOf(r,o.prototype),r}return(0,f.__extends)(t,e),t}(Error);!function(e){e.Number="Number",e.Boolean="Boolean",e.String="String",e.Text="Text",e.Object="Object"}(V||(V={}));var Z=function(){var e,t=this;this.handlers=((e={})[V.Object]={serialize:function(e){return"string"==typeof e?(console.error("\u26a0\ufe0f Seems like you are calling `settings.set(param, JSON.stringify(value))`. Please, pass a plain object/array and tpa-settings will serializate it."),e):JSON.stringify(e)},deserialize:function(e){return"string"!=typeof e?e:JSON.parse(e)}},e),this.serialize=function(e,n){return e.type===V.Object?t.handlers[V.Object].serialize(n):n},this.deserialize=function(e,n){return e.type===V.Object?t.handlers[V.Object].deserialize(n):n}},K=function(e){function t(){var t=this.constructor,n=e.call(this,"\nNo `Wix`, `editorSDK` or `publicData` was passed to TPASettingsProvider.\nIn order to work with tpa-settings, you have to pass either Wix SDK or Editor SDK for Settings panel mode or publicData for Widget mode.\n")||this;return Object.setPrototypeOf(n,t.prototype),n}return(0,f.__extends)(t,e),t}(Error),$=function(e,t){return e.localeCompare(t)},q=function(e,t){var n=t.isMobile,o=t.language,r=void 0===o?"en":o;return"function"==typeof e.dangerousKeyTransformationOverride?e.dangerousKeyTransformationOverride(e.key,{isMobile:n,language:r}):function(e,t,n){if("string"!=typeof e)throw new Error("`generateKey` expects key to be passed and be a string");if(!t)throw new Error("`generateKey` expects options to be passed");return Object.keys(n).sort($).reduce((function(e,o){var r=n[o]===t[o],i=!t[o]&&!n[o];return r||i?e:e+"\u25b6\ufe0e"+("boolean"!=typeof t[o]||n[o]?o+":"+t[o]:o)}),e)}(e.key,{m:n,l:r},{m:!1,l:"en"})},Y=function(e){return e.type===V.Text},X=function(e,t){return{languageAndMobile:q(e,{isMobile:t.isMobile,language:t.language}),language:q(e,{isMobile:!1,language:t.language}),mobile:q(e,{isMobile:t.isMobile}),original:e.key}},Q=function(e){return void 0===e.inheritDesktop||e.inheritDesktop},ee=function(e){var t=e.environmentLabel;return function(e){throw new Error("It is not possible to translate ".concat(e,". Translate function was not passed to the ").concat(t))}},te=new Z;function ne(e,t,n){void 0===n&&(n={});var o,r=Y(t),i=X(t,{isMobile:n.isMobile,language:r?n.language:void 0}),a=Q(t);return r?void 0!==e[i.languageAndMobile]?o=e[i.languageAndMobile]:a&&void 0!==e[i.language]&&(o=e[i.language]):void 0!==e[i.mobile]?o=e[i.mobile]:a&&void 0!==e[i.original]&&(o=e[i.original]),te.deserialize(t,o)}var oe=!1;function re(e,t,n,o){void 0===n&&(n={});var r=(0,f.__rest)(n,[]);void 0===o&&(o="COMPONENT");var i=e;e.COMPONENT||(oe||(console.warn("`getSettingsValue` or `getSettingsValues` should accept whole public data object. Probably, data was passed only for one scope."),oe=!0),i={COMPONENT:e,APP:{}});var a="COMPONENT"===o&&t.inheritFromAppScope,s=ne(i[o],t,r);return void 0===s&&a&&(s=ne(i.APP,t,r)),t.getDefaultValue&&void 0===s?ie(i,o,t,r):s}function ie(e,t,n,o){var r,i;void 0===o&&(o={});var a=null!==(r=o.t)&&void 0!==r?r:ee({environmentLabel:null!==(i=o.environmentLabel)&&void 0!==i?i:"`getSettingsValue` function"});return n.getDefaultValue({isMobile:o.isMobile,isRTL:o.isRTL,isEditorX:o.isEditorX,t:a,presetId:o.presetId,experiments:o.experiments,getSettingParamValue:function(n,r){return void 0===r&&(r={}),re(e,n,(0,f.__assign)((0,f.__assign)((0,f.__assign)({},o),r),{t:a}),t)}})}var ae,se=function(e){var t,n;return{APP:null!==(t=null==e?void 0:e.APP)&&void 0!==t?t:{},COMPONENT:null!==(n=null==e?void 0:e.COMPONENT)&&void 0!==n?n:{}}},le=function(e){function t(t){var n=e.call(this,t)||this;n.handleRevisionChanged=function(){return(0,f.__awaiter)(n,void 0,void 0,(function(){var e,t;return(0,f.__generator)(this,(function(n){switch(n.label){case 0:return e=this.props.SDKAdapter,this.isWidgetMode()?[3,2]:[4,e.getAllData()];case 1:t=n.sent(),this.setState({publicData:se(t)}),n.label=2;case 2:return[2]}}))}))},n.getLanguageForParam=function(e){return Y(e)?n.props.language:void 0},n.handleGetParam=function(e){var t=n.props.scope;if(!n.state.ready)throw new z;return re(n.state.publicData,e,{t:n.props.t,experiments:n.props.experiments,isMobile:n.props.isMobile,isEditorX:n.props.isEditorX,isRTL:n.props.isRTL,language:n.props.language,presetId:n.state.publicData[t].presetId,environmentLabel:""},t)},n.handleGetDefaultValue=function(e){var t=n.props.scope;return ie(n.state.publicData,t,e,{t:n.props.t,experiments:n.props.experiments,isMobile:n.props.isMobile,isEditorX:n.props.isEditorX,isRTL:n.props.isRTL,presetId:n.state.publicData[t].presetId,environmentLabel:""})},n.handleSetParam=function(e,t){var o,r,i=n.props.scope;if(!n.state.ready)throw new z;if(n.isWidgetMode())throw new J(F.Set,U.Setting);var a=n.serializer.serialize(e,t),s=q(e,{isMobile:n.props.isMobile,language:n.getLanguageForParam(e)});n.state.publicData[i][s]!==a&&(n.setState((function(e){var t,n;return(0,f.__assign)((0,f.__assign)({},e),{publicData:(0,f.__assign)((0,f.__assign)({},e.publicData),(t={},t[i]=(0,f.__assign)((0,f.__assign)({},e.publicData[i]),(n={},n[s]=a,n)),t))})})),n.setWixDataParam(s,a),null===(o=n.props.history)||void 0===o||o.addDebounced(e.key),null===(r=n.props.bi)||void 0===r||r.settingsChanged({parameter:e.key,value:a}))},n.handleResetParam=function(e){var t,o,r=n.props.scope;if(n.isWidgetMode())throw new J(F.Reset,U.Setting);var i=q(e,{isMobile:n.props.isMobile,language:n.getLanguageForParam(e)});n.setState((function(e){var t,n;return(0,f.__assign)((0,f.__assign)({},e),{publicData:(0,f.__assign)((0,f.__assign)({},e.publicData),(t={},t[r]=(0,f.__assign)((0,f.__assign)({},e.publicData[r]),(n={},n[i]=void 0,n)),t))})})),n.removeWixDataParam(i),null===(t=n.props.history)||void 0===t||t.addDebounced(e.key),null===(o=n.props.bi)||void 0===o||o.settingsChanged({parameter:e.key,value:""})},n.handleResetAll=function(e){var t,o;if(n.isWidgetMode())throw new J(F.ResetAll,U.Setting);null===(t=n.props.history)||void 0===t||t.startBatch(),Object.keys(e).forEach((function(t){n.handleResetParam(e[t])})),null===(o=n.props.history)||void 0===o||o.endBatch("All settings")},n.handlePublishEvent=function(e,t){if(n.isWidgetMode())throw new J(F.PublishEvent,U.Setting);n.setWixDataParam("___settingsEvent",{event:e,payload:{id:Date.now(),value:t}})};var o=t.publicData;return n.state={ready:!!o,publicData:se(o)},n.serializer=new Z,n}return(0,f.__extends)(t,e),t.prototype.componentDidMount=function(){return(0,f.__awaiter)(this,void 0,void 0,(function(){var e,t,n,o=this;return(0,f.__generator)(this,(function(r){switch(r.label){case 0:return e=this.props,t=e.SDKAdapter,e.publicData?[2]:t?[4,t.getAllData()]:[3,2];case 1:return n=r.sent(),this.setState({ready:!0,publicData:se(n)}),window.onunload=function(){o.handlePublishEvent("reset",{})},[2];case 2:throw new K}}))}))},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.publicData,o=t.revisionID;this.isWidgetMode()&&n!==e.publicData&&this.setState({ready:!!n,publicData:se(n)}),o!==e.revisionID&&this.handleRevisionChanged()},t.prototype.isWidgetMode=function(){return this.props.publicData},t.prototype.setWixDataParam=function(e,t){var n=this.props,o=n.SDKAdapter,r=n.scope;o.setData(e,t,r)},t.prototype.removeWixDataParam=function(e){var t=this.props,n=t.SDKAdapter,o=t.scope;n.removeData(e,o)},t.prototype.render=function(){return i().createElement(W.Provider,{value:{ready:this.state.ready,get:this.handleGetParam,getDefaultValue:this.handleGetDefaultValue,set:this.handleSetParam,reset:this.handleResetParam,resetAll:this.handleResetAll,publishEvent:this.handlePublishEvent}},this.props.children)},t.propTypes={SDKAdapter:G().object,settingsValues:G().object,t:G().func,experiments:G().object,bi:G().object,isMobile:G().bool,isEditorX:G().bool,scope:G().string.isRequired},t.defaultProps={scope:"COMPONENT"},t}(i().Component),ue=n(16252),ce=i().createContext({ready:!1,set:null,get:null,getDefaultValue:null,reset:null,resetAll:null,changeSiteColors:null,getStylesForAllBreakpoints:null}),de=ce.Consumer;!function(e){e.Number="Number",e.Boolean="Boolean",e.Font="Font",e.Color="Color"}(ae||(ae={}));var pe=n(56250),me=n.n(pe);const he=function(e,t){var n,o,r;if(e){var i=me().get(e);if(null===i)throw new Error("Unable to parse color from string: "+e);o=i.value.slice(0,3),r=null!==(n=i.value[3])&&void 0!==n?n:1}else o=[0,0,0],r=1;return{rgb:function(){var e;return(e=me().to).rgb.apply(e,(0,f.__spreadArray)((0,f.__spreadArray)([],o,!1),[null!=t?t:r],!1))},hex:function(){return e=o,t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase(),"000000".substring(t.length)+t;var e,t},opacity:function(){return null!=t?t:r}}};function ge(e){var t=e.styles,n=e.textPresets,o=e.colors,r=e.isMobile,i=e.isRTL,a=e.isEditorX,s=e.dimensions,l=e.experiments,u=e.styleParamsPerBreakpointMode;return function(e){return e.getDefaultValue({colors:o,textPresets:n,isMobile:r,isRTL:i,isEditorX:a,dimensions:s,experiments:l,getStyleParamValue:function(e,c){return void 0===c&&(c={}),fe((0,f.__assign)({storage:t,colors:o,textPresets:n,isMobile:r,isRTL:i,isEditorX:a,dimensions:s,experiments:l,styleParamsPerBreakpointMode:u},c))(e)}})}}function fe(e){var t=e.storage,n=e.textPresets,o=e.colors,r=void 0===o?[]:o,i=e.isMobile,a=e.isRTL,s=e.isEditorX,l=e.dimensions,u=e.experiments,c=e.styleParamsPerBreakpointMode,d=function(e){return(t.numbers||{})[e]},p=function(e){return(t.booleans||{})[e]},m=function(e){return(t.fonts||{})[e]},h=function(e){return(t.colors||{})[e]};return function(e){var o,g,v=(o={},o[ae.Number]=d,o[ae.Boolean]=p,o[ae.Font]=m,o[ae.Color]=h,o)[e.type],y=e.key||e.name;if(c)g=v(y);else{var b=q((0,f.__assign)((0,f.__assign)({},e),{key:y}),{isMobile:i});g=v(b);var E=Q(e);b!==y&&E&&void 0===g&&(g=v(y))}return void 0===g&&e.getDefaultValue?ge({styles:t,textPresets:n,colors:r,isMobile:i,isRTL:a,isEditorX:s,dimensions:l,experiments:u,styleParamsPerBreakpointMode:c})(e):g}}var ve=function(e){function t(t){var n=this.constructor,o=e.call(this,"\nYou are calling `getDefaultValue` for styles param, but it wasn't specified.\nPlease check the `".concat(t,"` style param implementation.\n"))||this;return Object.setPrototypeOf(o,n.prototype),o}return(0,f.__extends)(t,e),t}(Error);var ye=function(){function e(e){var t=e.styleParams,n=e.wixStyles,o=e.textPresets,r=e.colors,i=e.history,a=e.bi,s=e.isMobile,l=e.isRTL,u=e.isEditorX,c=e.dimensions,d=e.experiments,p=e.styleParamsPerBreakpointMode,m=e.currentStylesGetter,h=e.allStylesGetter,g=this;this.set=function(e,t,n){var o,r;void 0===n&&(n={}),e.name&&console.warn('Check the "'.concat(e.name,'" style param \u2013 property "name" is deprecated. Please use "key"'));var i=e.key||e.name,a=q((0,f.__assign)((0,f.__assign)({},e),{key:i}),{isMobile:!g.styleParamsPerBreakpointMode&&g.isMobile});switch(e.type){case ae.Number:g.setNumberParam(a,t,n);break;case ae.Boolean:g.setBooleanParam(a,t,n);break;case ae.Font:g.setFontParam(a,t,n);break;case ae.Color:g.setColorParam(a,t,n);break;default:console.error('"'.concat(e.type,'" is not supported type.'))}null===(o=g.history)||void 0===o||o.addDebounced(i),null===(r=g.bi)||void 0===r||r.settingsChanged({parameter:i,value:t})},this.getCurrentStyles=function(){return g.currentStylesGetter?g.wixStyles.decode(g.currentStylesGetter(),g.colors,g.textPresets):g.styles},this.get=function(e){return fe({storage:g.getCurrentStyles(),colors:g.colors,textPresets:g.textPresets,isMobile:g.isMobile,isRTL:g.isRTL,isEditorX:g.isEditorX,dimensions:g.dimensions,experiments:g.experiments,styleParamsPerBreakpointMode:g.styleParamsPerBreakpointMode})(e)},this.getDefaultValue=function(e){if(!e.getDefaultValue)throw new ve(e.key);return ge({styles:g.styles,colors:g.colors,textPresets:g.textPresets,isMobile:g.isMobile,isRTL:g.isRTL,isEditorX:g.isEditorX,dimensions:g.dimensions,experiments:g.experiments,styleParamsPerBreakpointMode:g.styleParamsPerBreakpointMode})(e)},this.reset=function(e){var t=ge({styles:g.styles,colors:g.colors,textPresets:g.textPresets,isMobile:g.isMobile,isRTL:g.isRTL,isEditorX:g.isEditorX,dimensions:g.dimensions,experiments:g.experiments,styleParamsPerBreakpointMode:g.styleParamsPerBreakpointMode});g.set(e,t(e))},this.resetAll=function(e){var t,n;null===(t=g.history)||void 0===t||t.startBatch(),Object.keys(e).forEach((function(t){g.reset(e[t])})),null===(n=g.history)||void 0===n||n.endBatch("All styles")},this.wixStyles=n,this.textPresets=o,this.colors=r,this.styles=t,this.history=i,this.bi=a,this.isMobile=s,this.isRTL=l,this.isEditorX=u,this.dimensions=c,this.experiments=d,this.styleParamsPerBreakpointMode=p,this.currentStylesGetter=m,this.allStylesGetter=h}return e.prototype.setStylesParam=function(e,t,n){var o,r;this.styles=(0,f.__assign)((0,f.__assign)({},this.styles),((o={})[e]=(0,f.__assign)((0,f.__assign)({},this.styles[e]),((r={})[t]=n,r)),o))},e.prototype.setBooleanParam=function(e,t,n){this.setStylesParam("booleans",e,t),this.wixStyles.setBooleanParam(e,t,n)},e.prototype.setColorParam=function(e,t,n){this.setStylesParam("colors",e,function(e,t){if(null==e?void 0:e.name){var n=t.find((function(t){return t.name===e.name}));return(0,f.__assign)((0,f.__assign)({},e),{value:he(n.value,e.opacity).rgb()})}return e}(t,this.colors)),this.wixStyles.setColorParam(e,t,n)},e.prototype.setFontParam=function(e,t,n){this.setStylesParam("fonts",e,t),this.wixStyles.setFontParam(e,t,n)},e.prototype.setNumberParam=function(e,t,n){this.setStylesParam("numbers",e,t),this.wixStyles.setNumberParam(e,t,n)},e.prototype.getAll=function(){return JSON.parse(JSON.stringify(this.getCurrentStyles()))},e.prototype.getAllForAllBreakpoints=function(){var e=this;return this.allStylesGetter?JSON.parse(JSON.stringify(this.allStylesGetter().map((function(t){return e.wixStyles.decode(t,e.colors,e.textPresets)})))):[this.getAll()]},e.prototype.setStyleParams=function(e){return(0,f.__awaiter)(this,void 0,void 0,(function(){var t;return(0,f.__generator)(this,(function(n){switch(n.label){case 0:return t=this,[4,this.wixStyles.decode(e,this.colors,this.textPresets)];case 1:return t.styles=n.sent(),[2]}}))}))},e.prototype.handleSiteColorChange=function(e){var t=this.styles.colors,n=Object.keys(t).reduce((function(n,o){return t[o].name?n[o]=(0,f.__assign)((0,f.__assign)({},t[o]),{value:e[t[o].name]}):n[o]=t[o],n}),{});this.styles=(0,f.__assign)((0,f.__assign)({},this.styles),{colors:n})},e}();function be(e,t){if(void 0===t&&(t={}),!t[e])return null;var n=t[e];return{size:parseInt(n.size,10),family:n.fontFamily,preset:e,style:{bold:"bold"===n.weight,italic:"italic"===n.style,underline:!1},fontStyleParam:!1}}function Ee(e,t,n){var o=Object.keys(e.fonts||[]).reduce((function(t,o){var r,i,a=e.fonts[o];return(0,f.__assign)((0,f.__assign)({},t),{fonts:(0,f.__assign)((0,f.__assign)({},t.fonts),(r={},r[o]="Custom"!==a.preset&&null!==(i=be(e.fonts[o].preset,n))&&void 0!==i?i:a,r))})}),{fonts:{}}).fonts,r=Object.keys(e.colors||[]).reduce((function(n,o){var r;try{var i=function(e,t){var n;if(!e.value)return null;if(e.themeName){var o=t.find((function(t){return t.reference===e.themeName||t.name===e.themeName})),r=he(e.value||o.value);if(o)return{value:r.rgb(),name:o.name,opacity:r.opacity()}}var i=he(e.value);return{value:i.rgb(),name:null!==(n=e.themeName)&&void 0!==n?n:null,opacity:i.opacity()}}(e.colors[o],t);return(0,f.__assign)((0,f.__assign)({},n),{colors:(0,f.__assign)((0,f.__assign)({},n.colors),(r={},r[o]=i,r))})}catch(e){return(0,f.__assign)((0,f.__assign)({},n),{errors:n.errors.concat(o)})}}),{colors:{},errors:[]}),i=r.colors;r.errors;return(0,f.__assign)((0,f.__assign)({},e),{fonts:o,colors:i})}var Ae,Ce=function(){function e(e,t){var n=this;this.refresh=function(){return(0,f.__awaiter)(n,void 0,void 0,(function(){var e,t;return(0,f.__generator)(this,(function(n){switch(n.label){case 0:return this.editorSDK?[4,this.editorSDK.components.getById("token",{id:new URLSearchParams(window.location.search).get("origCompId")})]:[3,3];case 1:return e=n.sent(),[4,this.editorSDK.document.tpa.getStyleParams("token",{compRef:e})];case 2:return t=n.sent(),[2,this.normalizeStylesReceivedFromEditorSDK(t)];case 3:return[2]}}))}))},this.decode=function(e,t,n){return e?Ee(e,t,n):null},this.SDKAdapter=e,this.editorSDK=t}return e.prototype.setBooleanParam=function(e,t,n){this.SDKAdapter.setBooleanParam(e,t,n)},e.prototype.setFontParam=function(e,t,n){this.SDKAdapter.setFontParam(e,t,n)},e.prototype.setNumberParam=function(e,t,n){this.SDKAdapter.setNumberParam(e,t,n)},e.prototype.setColorParam=function(e,t,n){return(0,f.__awaiter)(this,void 0,void 0,(function(){var o,r;return(0,f.__generator)(this,(function(i){switch(i.label){case 0:return[4,this.SDKAdapter.getSiteColors()];case 1:return o=i.sent(),r=function(e,t){if(e.name){var n=t.find((function(t){return t.name===e.name})),o=he(n.value,e.opacity).rgb();return{opacity:e.opacity,rgba:o,color:{value:o,name:n.name,reference:n.reference}}}return{opacity:e.opacity,rgba:he(e.value,e.opacity).rgb(),color:!1}}(t,o),this.SDKAdapter.setColorParam(e,r,n),[2]}}))}))},e.prototype.load=function(){return this.SDKAdapter.getStyleParams()},e.prototype.getSiteTextPresets=function(){return this.SDKAdapter.getSiteTextPresets()},e.prototype.getSiteColors=function(){return this.SDKAdapter.getSiteColors()},e.prototype.normalizeStylesReceivedFromEditorSDK=function(e){return(0,f.__awaiter)(this,void 0,void 0,(function(){var t,n,o,r,i,a;return(0,f.__generator)(this,(function(s){switch(s.label){case 0:for(i in t=function(t){var o,r;return(0,f.__generator)(this,(function(i){switch(i.label){case 0:return e.colors.hasOwnProperty(t)&&e.colors[t].hasOwnProperty("themeName")?[4,n.getSiteColors()]:[3,2];case 1:o=i.sent(),r=o.find((function(n){return n.name===e.colors[t].themeName})),e.colors[t].themeName=r.reference,i.label=2;case 2:return[2]}}))},n=this,o=e.colors,r=[],o)r.push(i);a=0,s.label=1;case 1:return ai().createElement("div",null,"Loading...");var $e=n(85707),qe=n.n($e),Ye=n(58486),Xe=n.n(Ye),Qe=n(65832);const et=e=>{class t extends i().Component{render(){return i().createElement("div",{dir:this.props.isRTL?"rtl":void 0},i().createElement(e,this.props))}}return qe()(t,"displayName",`withDirection(${(0,Qe.A)(e)})`),Xe()(t,e),t};function tt(e){return t=>{if(!t.state)throw new Error("Controller not initialized. Cannot render without props.");return i().createElement(e,t)}}const nt=e=>{class t extends i().Component{constructor(){super(...arguments),qe()(this,"updateLayoutIfNeeded",(()=>{this.lastHeight!==this.node.offsetHeight&&(this.lastHeight=this.node.offsetHeight,this.props.host.updateLayout())})),qe()(this,"updateLayoutIfNeededDebounced",(0,ue.debounce)(this.updateLayoutIfNeeded,100,{leading:!0}))}componentDidMount(){this.node=document.getElementById(this.props.host.id),this.node&&(this.node.style.minWidth=0,this.observer=new MutationObserver(this.updateLayoutIfNeeded),this.observer.observe(this.node,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),this.lastHeight=this.node.offsetHeight,window.addEventListener("resize",this.updateLayoutIfNeededDebounced),window.addEventListener("transitionend",this.updateLayoutIfNeeded))}componentWillUnmount(){this.node&&(this.observer.disconnect(),window.removeEventListener("resize",this.updateLayoutIfNeededDebounced),window.removeEventListener("transitionend",this.updateLayoutIfNeeded))}render(){return i().createElement(e,this.props)}}return qe()(t,"displayName",`withLayoutUpdate(${(0,Qe.A)(e)})`),Xe()(t,e),t},ot=e=>t=>{class n extends i().Component{render(){const{provisioningInProgress:n}=this.props;return n?i().createElement(e,this.props):i().createElement(t,this.props)}}return qe()(n,"displayName",`withProvisioning(${(0,Qe.A)(t)})`),Xe()(n,t),n};var rt=n(4480);const it=(at=rt.A,(0,ue.flowRight)(et,ot(Ke),tt,nt)(at));var at,st,lt=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)};function ut(e){return e.type===st.literal}function ct(e){return e.type===st.argument}function dt(e){return e.type===st.number}function pt(e){return e.type===st.date}function mt(e){return e.type===st.time}function ht(e){return e.type===st.select}function gt(e){return e.type===st.plural}function ft(e){return e.type===st.pound}function vt(e){return!(!e||"object"!=typeof e||0!==e.type)}function yt(e){return!(!e||"object"!=typeof e||1!==e.type)}!function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound"}(st||(st={}));var bt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Et=function(){return Et=Object.assign||function(e){for(var t,n=1,o=arguments.length;n0){for(t=1,n=1;t1&&"}"===e)},_e="\n",xe=et("\n",!1),De=function(e){return"{"===e||"}"===e||xt()&&"#"===e},ke=nt("argNameOrNumber"),Re=nt("argNumber"),Me="0",Be=et("0",!1),Fe=function(){return 0},Ue=/^[1-9]/,je=tt([["1","9"]],!1,!1),Ge=/^[0-9]/,We=tt([["0","9"]],!1,!1),He=function(e){return parseInt(e.join(""),10)},ze=nt("argName"),Ve=0,Je=0,Ze=[{line:1,column:1}],Ke=0,$e=[],qe=0;if(void 0!==t.startRule){if(!(t.startRule in r))throw new Error("Can't start parsing from rule \""+t.startRule+'".');i=r[t.startRule]}function Ye(){return e.substring(Je,Ve)}function Xe(){return rt(Je,Ve)}function Qe(e,t){throw function(e,t){return new At(e,[],"",t)}(e,t=void 0!==t?t:rt(Je,Ve))}function et(e,t){return{type:"literal",text:e,ignoreCase:t}}function tt(e,t,n){return{type:"class",parts:e,inverted:t,ignoreCase:n}}function nt(e){return{type:"other",description:e}}function ot(t){var n,o=Ze[t];if(o)return o;for(n=t-1;!Ze[n];)n--;for(o={line:(o=Ze[n]).line,column:o.column};nKe&&(Ke=Ve,$e=[]),$e.push(e))}function at(e,t,n){return new At(At.buildMessage(e,t),e,t,n)}function lt(){return ut()}function ut(){var e,t;for(e=[],t=ct();t!==o;)e.push(t),t=ct();return e}function ct(){var t;return(t=function(){var e,t;e=Ve,(t=dt())!==o&&(Je=e,t=s(t));return e=t,e}())===o&&(t=function(){var t,n,r,i;qe++,t=Ve,123===e.charCodeAt(Ve)?(n=p,Ve++):(n=o,0===qe&&it(m));n!==o&&St()!==o&&(r=Lt())!==o&&St()!==o?(125===e.charCodeAt(Ve)?(i=h,Ve++):(i=o,0===qe&&it(g)),i!==o?(Je=t,t=n=f(r)):(Ve=t,t=o)):(Ve=t,t=o);qe--,t===o&&(n=o,0===qe&&it(d));return t}())===o&&(t=function(){var t;t=function(){var t,n,r,i,a,s,l,u,c;t=Ve,123===e.charCodeAt(Ve)?(n=p,Ve++):(n=o,0===qe&&it(m));n!==o&&St()!==o&&(r=Lt())!==o&&St()!==o?(44===e.charCodeAt(Ve)?(i=D,Ve++):(i=o,0===qe&&it(k)),i!==o&&St()!==o?(e.substr(Ve,6)===R?(a=R,Ve+=6):(a=o,0===qe&&it(M)),a!==o&&St()!==o?(s=Ve,44===e.charCodeAt(Ve)?(l=D,Ve++):(l=o,0===qe&&it(k)),l!==o&&(u=St())!==o?(c=function(){var t,n,r;t=Ve,e.substr(Ve,2)===L?(n=L,Ve+=2):(n=o,0===qe&&it(I));n!==o?(r=function(){var e,t,n;if(e=Ve,t=[],n=ht(),n!==o)for(;n!==o;)t.push(n),n=ht();else t=o;t!==o&&(Je=e,t=P(t));return e=t,e}(),r!==o?(Je=t,t=n=T(r)):(Ve=t,t=o)):(Ve=t,t=o);t===o&&(t=Ve,Je=Ve,(n=(n=_())?void 0:o)!==o&&(r=dt())!==o?(Je=t,t=n=x(r)):(Ve=t,t=o));return t}(),c!==o?s=l=[l,u,c]:(Ve=s,s=o)):(Ve=s,s=o),s===o&&(s=null),s!==o&&(l=St())!==o?(125===e.charCodeAt(Ve)?(u=h,Ve++):(u=o,0===qe&&it(g)),u!==o?(Je=t,t=n=B(r,a,s)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o);return t}(),t===o&&(t=function(){var t,n,r,i,a,s,l,u,c;t=Ve,123===e.charCodeAt(Ve)?(n=p,Ve++):(n=o,0===qe&&it(m));n!==o&&St()!==o&&(r=Lt())!==o&&St()!==o?(44===e.charCodeAt(Ve)?(i=D,Ve++):(i=o,0===qe&&it(k)),i!==o&&St()!==o?(e.substr(Ve,4)===K?(a=K,Ve+=4):(a=o,0===qe&&it($)),a===o&&(e.substr(Ve,4)===q?(a=q,Ve+=4):(a=o,0===qe&&it(Y))),a!==o&&St()!==o?(s=Ve,44===e.charCodeAt(Ve)?(l=D,Ve++):(l=o,0===qe&&it(k)),l!==o&&(u=St())!==o?(c=function(){var t,n,r;t=Ve,e.substr(Ve,2)===L?(n=L,Ve+=2):(n=o,0===qe&&it(I));n!==o?(r=function(){var t,n,r,i;t=Ve,n=Ve,r=[],i=gt(),i===o&&(i=ft());if(i!==o)for(;i!==o;)r.push(i),(i=gt())===o&&(i=ft());else r=o;n=r!==o?e.substring(n,Ve):r;n!==o&&(Je=t,n=J(n));return t=n,t}(),r!==o?(Je=t,t=n=T(r)):(Ve=t,t=o)):(Ve=t,t=o);t===o&&(t=Ve,Je=Ve,(n=(n=Z())?void 0:o)!==o&&(r=dt())!==o?(Je=t,t=n=x(r)):(Ve=t,t=o));return t}(),c!==o?s=l=[l,u,c]:(Ve=s,s=o)):(Ve=s,s=o),s===o&&(s=null),s!==o&&(l=St())!==o?(125===e.charCodeAt(Ve)?(u=h,Ve++):(u=o,0===qe&&it(g)),u!==o?(Je=t,t=n=B(r,a,s)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o);return t}());return t}())===o&&(t=function(){var t,n,r,i,a,s,l,u,c,d,f;t=Ve,123===e.charCodeAt(Ve)?(n=p,Ve++):(n=o,0===qe&&it(m));if(n!==o)if(St()!==o)if((r=Lt())!==o)if(St()!==o)if(44===e.charCodeAt(Ve)?(i=D,Ve++):(i=o,0===qe&&it(k)),i!==o)if(St()!==o)if(e.substr(Ve,6)===X?(a=X,Ve+=6):(a=o,0===qe&&it(Q)),a===o&&(e.substr(Ve,13)===ee?(a=ee,Ve+=13):(a=o,0===qe&&it(te))),a!==o)if(St()!==o)if(44===e.charCodeAt(Ve)?(s=D,Ve++):(s=o,0===qe&&it(k)),s!==o)if(St()!==o)if(l=Ve,e.substr(Ve,7)===ne?(u=ne,Ve+=7):(u=o,0===qe&&it(oe)),u!==o&&(c=St())!==o&&(d=wt())!==o?l=u=[u,c,d]:(Ve=l,l=o),l===o&&(l=null),l!==o)if((u=St())!==o){if(c=[],(d=yt())!==o)for(;d!==o;)c.push(d),d=yt();else c=o;c!==o&&(d=St())!==o?(125===e.charCodeAt(Ve)?(f=h,Ve++):(f=o,0===qe&&it(g)),f!==o?(Je=t,t=n=re(r,a,l,c)):(Ve=t,t=o)):(Ve=t,t=o)}else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;return t}())===o&&(t=function(){var t,n,r,i,a,s,l,u,c;t=Ve,123===e.charCodeAt(Ve)?(n=p,Ve++):(n=o,0===qe&&it(m));if(n!==o)if(St()!==o)if((r=Lt())!==o)if(St()!==o)if(44===e.charCodeAt(Ve)?(i=D,Ve++):(i=o,0===qe&&it(k)),i!==o)if(St()!==o)if(e.substr(Ve,6)===ie?(a=ie,Ve+=6):(a=o,0===qe&&it(ae)),a!==o)if(St()!==o)if(44===e.charCodeAt(Ve)?(s=D,Ve++):(s=o,0===qe&&it(k)),s!==o)if(St()!==o){if(l=[],(u=vt())!==o)for(;u!==o;)l.push(u),u=vt();else l=o;l!==o&&(u=St())!==o?(125===e.charCodeAt(Ve)?(c=h,Ve++):(c=o,0===qe&&it(g)),c!==o?(Je=t,t=n=se(r,l)):(Ve=t,t=o)):(Ve=t,t=o)}else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;else Ve=t,t=o;return t}())===o&&(t=function(){var t,n;t=Ve,35===e.charCodeAt(Ve)?(n=l,Ve++):(n=o,0===qe&&it(u));n!==o&&(Je=t,n=c());return t=n,t}()),t}function dt(){var e,t,n;if(e=Ve,t=[],(n=Ot())===o&&(n=Nt())===o&&(n=Pt()),n!==o)for(;n!==o;)t.push(n),(n=Ot())===o&&(n=Nt())===o&&(n=Pt());else t=o;return t!==o&&(Je=e,t=a(t)),e=t}function pt(){var t,n,r,i,a;if(qe++,t=Ve,n=[],r=Ve,i=Ve,qe++,(a=bt())===o&&(y.test(e.charAt(Ve))?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(b))),qe--,a===o?i=void 0:(Ve=i,i=o),i!==o?(e.length>Ve?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(E)),a!==o?r=i=[i,a]:(Ve=r,r=o)):(Ve=r,r=o),r!==o)for(;r!==o;)n.push(r),r=Ve,i=Ve,qe++,(a=bt())===o&&(y.test(e.charAt(Ve))?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(b))),qe--,a===o?i=void 0:(Ve=i,i=o),i!==o?(e.length>Ve?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(E)),a!==o?r=i=[i,a]:(Ve=r,r=o)):(Ve=r,r=o);else n=o;return t=n!==o?e.substring(t,Ve):n,qe--,t===o&&(n=o,0===qe&&it(v)),t}function mt(){var t,n,r;return qe++,t=Ve,47===e.charCodeAt(Ve)?(n=C,Ve++):(n=o,0===qe&&it(S)),n!==o&&(r=pt())!==o?(Je=t,t=n=w(r)):(Ve=t,t=o),qe--,t===o&&(n=o,0===qe&&it(A)),t}function ht(){var e,t,n,r;if(qe++,e=Ve,St()!==o)if((t=pt())!==o){for(n=[],r=mt();r!==o;)n.push(r),r=mt();n!==o?(Je=e,e=N(t,n)):(Ve=e,e=o)}else Ve=e,e=o;else Ve=e,e=o;return qe--,e===o&&(o,0===qe&&it(O)),e}function gt(){var t,n,r,i;if(t=Ve,39===e.charCodeAt(Ve)?(n=F,Ve++):(n=o,0===qe&&it(U)),n!==o){if(r=[],(i=Ot())===o&&(j.test(e.charAt(Ve))?(i=e.charAt(Ve),Ve++):(i=o,0===qe&&it(G))),i!==o)for(;i!==o;)r.push(i),(i=Ot())===o&&(j.test(e.charAt(Ve))?(i=e.charAt(Ve),Ve++):(i=o,0===qe&&it(G)));else r=o;r!==o?(39===e.charCodeAt(Ve)?(i=F,Ve++):(i=o,0===qe&&it(U)),i!==o?t=n=[n,r,i]:(Ve=t,t=o)):(Ve=t,t=o)}else Ve=t,t=o;if(t===o)if(t=[],(n=Ot())===o&&(W.test(e.charAt(Ve))?(n=e.charAt(Ve),Ve++):(n=o,0===qe&&it(H))),n!==o)for(;n!==o;)t.push(n),(n=Ot())===o&&(W.test(e.charAt(Ve))?(n=e.charAt(Ve),Ve++):(n=o,0===qe&&it(H)));else t=o;return t}function ft(){var t,n;if(t=[],z.test(e.charAt(Ve))?(n=e.charAt(Ve),Ve++):(n=o,0===qe&&it(V)),n!==o)for(;n!==o;)t.push(n),z.test(e.charAt(Ve))?(n=e.charAt(Ve),Ve++):(n=o,0===qe&&it(V));else t=o;return t}function vt(){var t,n,r,i,a;return t=Ve,St()!==o&&(n=Tt())!==o&&St()!==o?(123===e.charCodeAt(Ve)?(r=p,Ve++):(r=o,0===qe&&it(m)),r!==o?(Je=Ve,(ce(n)?void 0:o)!==o&&(i=ut())!==o?(125===e.charCodeAt(Ve)?(a=h,Ve++):(a=o,0===qe&&it(g)),a!==o?(Je=t,t=de(n,i)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o),t}function yt(){var t,n,r,i,a;return t=Ve,St()!==o?(n=function(){var t,n,r,i;return t=Ve,n=Ve,61===e.charCodeAt(Ve)?(r=le,Ve++):(r=o,0===qe&&it(ue)),r!==o&&(i=wt())!==o?n=r=[r,i]:(Ve=n,n=o),(t=n!==o?e.substring(t,Ve):n)===o&&(t=Tt()),t}(),n!==o&&St()!==o?(123===e.charCodeAt(Ve)?(r=p,Ve++):(r=o,0===qe&&it(m)),r!==o?(Je=Ve,(pe(n)?void 0:o)!==o&&(i=ut())!==o?(125===e.charCodeAt(Ve)?(a=h,Ve++):(a=o,0===qe&&it(g)),a!==o?(Je=t,t=me(n,i)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o)):(Ve=t,t=o),t}function bt(){var t;return qe++,ge.test(e.charAt(Ve))?(t=e.charAt(Ve),Ve++):(t=o,0===qe&&it(fe)),qe--,t===o&&(o,0===qe&&it(he)),t}function Ct(){var t;return qe++,ye.test(e.charAt(Ve))?(t=e.charAt(Ve),Ve++):(t=o,0===qe&&it(be)),qe--,t===o&&(o,0===qe&&it(ve)),t}function St(){var t,n,r;for(qe++,t=Ve,n=[],r=bt();r!==o;)n.push(r),r=bt();return t=n!==o?e.substring(t,Ve):n,qe--,t===o&&(n=o,0===qe&&it(Ee)),t}function wt(){var t,n,r;return qe++,t=Ve,45===e.charCodeAt(Ve)?(n=Ce,Ve++):(n=o,0===qe&&it(Se)),n===o&&(n=null),n!==o&&(r=It())!==o?(Je=t,t=n=we(n,r)):(Ve=t,t=o),qe--,t===o&&(n=o,0===qe&&it(Ae)),t}function Ot(){var t,n;return qe++,t=Ve,e.substr(Ve,2)===Ne?(n=Ne,Ve+=2):(n=o,0===qe&&it(Pe)),n!==o&&(Je=t,n=Le()),qe--,(t=n)===o&&(n=o,0===qe&&it(Oe)),t}function Nt(){var t,n,r,i,a,s;if(t=Ve,39===e.charCodeAt(Ve)?(n=F,Ve++):(n=o,0===qe&&it(U)),n!==o)if(r=function(){var t,n,r,i;t=Ve,n=Ve,e.length>Ve?(r=e.charAt(Ve),Ve++):(r=o,0===qe&&it(E));r!==o?(Je=Ve,(i=(i=De(r))?void 0:o)!==o?n=r=[r,i]:(Ve=n,n=o)):(Ve=n,n=o);t=n!==o?e.substring(t,Ve):n;return t}(),r!==o){for(i=Ve,a=[],e.substr(Ve,2)===Ne?(s=Ne,Ve+=2):(s=o,0===qe&&it(Pe)),s===o&&(j.test(e.charAt(Ve))?(s=e.charAt(Ve),Ve++):(s=o,0===qe&&it(G)));s!==o;)a.push(s),e.substr(Ve,2)===Ne?(s=Ne,Ve+=2):(s=o,0===qe&&it(Pe)),s===o&&(j.test(e.charAt(Ve))?(s=e.charAt(Ve),Ve++):(s=o,0===qe&&it(G)));(i=a!==o?e.substring(i,Ve):a)!==o?(39===e.charCodeAt(Ve)?(a=F,Ve++):(a=o,0===qe&&it(U)),a===o&&(a=null),a!==o?(Je=t,t=n=Ie(r,i)):(Ve=t,t=o)):(Ve=t,t=o)}else Ve=t,t=o;else Ve=t,t=o;return t}function Pt(){var t,n,r,i;return t=Ve,n=Ve,e.length>Ve?(r=e.charAt(Ve),Ve++):(r=o,0===qe&&it(E)),r!==o?(Je=Ve,(i=(i=Te(r))?void 0:o)!==o?n=r=[r,i]:(Ve=n,n=o)):(Ve=n,n=o),n===o&&(10===e.charCodeAt(Ve)?(n=_e,Ve++):(n=o,0===qe&&it(xe))),t=n!==o?e.substring(t,Ve):n}function Lt(){var t,n;return qe++,t=Ve,(n=It())===o&&(n=Tt()),t=n!==o?e.substring(t,Ve):n,qe--,t===o&&(n=o,0===qe&&it(ke)),t}function It(){var t,n,r,i,a;if(qe++,t=Ve,48===e.charCodeAt(Ve)?(n=Me,Ve++):(n=o,0===qe&&it(Be)),n!==o&&(Je=t,n=Fe()),(t=n)===o){if(t=Ve,n=Ve,Ue.test(e.charAt(Ve))?(r=e.charAt(Ve),Ve++):(r=o,0===qe&&it(je)),r!==o){for(i=[],Ge.test(e.charAt(Ve))?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(We));a!==o;)i.push(a),Ge.test(e.charAt(Ve))?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(We));i!==o?n=r=[r,i]:(Ve=n,n=o)}else Ve=n,n=o;n!==o&&(Je=t,n=He(n)),t=n}return qe--,t===o&&(n=o,0===qe&&it(Re)),t}function Tt(){var t,n,r,i,a;if(qe++,t=Ve,n=[],r=Ve,i=Ve,qe++,(a=bt())===o&&(a=Ct()),qe--,a===o?i=void 0:(Ve=i,i=o),i!==o?(e.length>Ve?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(E)),a!==o?r=i=[i,a]:(Ve=r,r=o)):(Ve=r,r=o),r!==o)for(;r!==o;)n.push(r),r=Ve,i=Ve,qe++,(a=bt())===o&&(a=Ct()),qe--,a===o?i=void 0:(Ve=i,i=o),i!==o?(e.length>Ve?(a=e.charAt(Ve),Ve++):(a=o,0===qe&&it(E)),a!==o?r=i=[i,a]:(Ve=r,r=o)):(Ve=r,r=o);else n=o;return t=n!==o?e.substring(t,Ve):n,qe--,t===o&&(n=o,0===qe&&it(ze)),t}var _t=["root"];function xt(){return"plural"===_t[_t.length-1]}function Dt(){return t&&t.captureLocation?{location:Xe()}:{}}if((n=i())!==o&&Ve===e.length)return n;throw n!==o&&Ve1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Dt,(function(e,n,o){return"."===e?t.maximumFractionDigits=0:"+"===o?t.minimumFractionDigits=o.length:"#"===n[0]?t.maximumFractionDigits=n.length:(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length+("string"==typeof o?o.length:0)),""})),r.options.length&&(t=Tt(Tt({},t),Rt(r.options[0])))}else if(kt.test(r.stem))t=Tt(Tt({},t),Rt(r.stem));else{var i=Mt(r.stem);i&&(t=Tt(Tt({},t),i))}}return t}var Ut,jt=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function o(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(o.prototype=n.prototype,new o)}}(),Gt=function(){for(var e=0,t=0,n=arguments.length;t(.*?)<\/([0-9a-zA-Z-_]*?)>)|(<[0-9a-zA-Z-_]*?\/>)/,Kt=Date.now()+"@@",$t=["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"];function qt(e,t,n){var o=e.tagName,r=e.outerHTML,i=e.textContent,a=e.childNodes;if(!o)return Jt(i||"",t);o=o.toLowerCase();var s=~$t.indexOf(o),l=n[o];if(l&&s)throw new Wt(o+" is a self-closing tag and can not be used, please use another tag name.");if(!a.length)return[r];var u=Array.prototype.slice.call(a).reduce((function(e,o){return e.concat(qt(o,t,n))}),[]);return l?"function"==typeof l?[l.apply(void 0,u)]:[l]:Gt(["<"+o+">"],u,[""])}function Yt(e,t,n,o,r,i){var a=Ht(e,t,n,o,r,void 0,i),s={},l=a.reduce((function(e,t){if(0===t.type)return e+t.value;var n=Date.now()+"_"+ ++Vt;return s[n]=t.value,e+"@@"+n+"@@"}),"");if(!Zt.test(l))return Jt(l,s);if(!r)throw new Wt("Message has placeholders but no values was given");if("undefined"==typeof DOMParser)throw new Wt("Cannot format XML message without DOMParser");Ut||(Ut=new DOMParser);var u=Ut.parseFromString(''+l+"","text/html").getElementById(Kt);if(!u)throw new Wt("Malformed HTML message "+l);var c=Object.keys(r).filter((function(e){return!!u.getElementsByTagName(e).length}));if(!c.length)return Jt(l,s);var d=c.filter((function(e){return e!==e.toLowerCase()}));if(d.length)throw new Wt("HTML tag must be lowercased but the following tags are not: "+d.join(", "));return Array.prototype.slice.call(u.childNodes).reduce((function(e,t){return e.concat(qt(t,s,r))}),[])}var Xt=function(){return Xt=Object.assign||function(e){for(var t,n=1,o=arguments.length;n-1?e.replace(/###/g,"."):e}function r(){return!e||"string"==typeof e}const i="string"!=typeof t?[].concat(t):t.split(".");for(;i.length>1;){if(r())return{};const t=o(i.shift());!e[t]&&n&&(e[t]=new n),e=e[t]}return r()?{}:{obj:e,k:o(i.shift())}}const on=[],rn=on.forEach,an=on.slice;class sn{constructor(e){this.type="i18nFormat",this.mem={},this.init(null,e)}init(e,t){const n=e&&e.options&&e.options.i18nFormat||{};if(this.options=function(e){return rn.call(an.call(arguments,1),(function(t){if(t)for(const n in t)void 0===e[n]&&(e[n]=t[n])})),e}(n,t,this.options||{},{memoize:!0,memoizeFallback:!1,bindI18n:"",bindI18nStore:void 0,parseErrorHandler:(e,t,n)=>n}),this.formats=this.options?.formats,e){const{bindI18n:t,bindI18nStore:n,memoize:o}=this.options;e.IntlMessageFormat=tn,e.ICU=this,o&&(t&&e.on(t,(()=>this.clearCache())),n&&e.store.on(n,(()=>this.clearCache())))}this.options?.localeData&&("[object Array]"===Object.prototype.toString.apply(this.options.localeData)?this.options.localeData.forEach((e=>this.addLocaleData(e))):this.addLocaleData(this.options.localeData))}addLocaleData(e){(Array.isArray(e)?e:[e]).forEach((e=>{e&&e.locale&&tn.__addLocaleData(e)}))}addUserDefinedFormats(e){this.formats=this.formats?{...this.formats,...e}:e}parse(e,t,n,o,r,i){const a=i&&i.resolved&&i.resolved.res,s=this.options?.memoize&&`${n}.${o}.${r.replace(/\./g,"###")}`;let l;this.options?.memoize&&(l=function(e,t){const{obj:n,k:o}=nn(e,t);if(n)return n[o]}(this.mem,s));try{return l||(l=new tn(e,n,this.formats),this.options?.memoize&&(this.options.memoizeFallback||!i||a)&&function(e,t,n){const{obj:o,k:r}=nn(e,t,Object);o[r]=n}(this.mem,s,l)),l.format(t)}catch(n){return this.options?.parseErrorHandler?.(n,r,e,t)}}addLookupKeys(e){return e}clearCache(){this.mem={}}}sn.type="i18nFormat";const ln=sn;var un=n(40694),cn=n(18459),dn=n(92099),pn=n(48183),mn=n(42912),hn=n(74572),gn=n(72367),fn=n(50171),vn={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){console&&console[e]&&console[e].apply(console,t)}},yn=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,dn.A)(this,e),this.init(t,n)}return(0,pn.A)(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||vn,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n1?t-1:0),o=1;o-1?e.replace(/###/g,"."):e}function r(){return!e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(r())return{};var a=o(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{}}return r()?{}:{obj:e,k:o(i.shift())}}function Sn(e,t,n){var o=Cn(e,t,Object);o.obj[o.k]=n}function wn(e,t){var n=Cn(e,t),o=n.obj,r=n.k;if(o)return o[r]}function On(e,t,n){var o=wn(e,n);return void 0!==o?o:wn(t,n)}function Nn(e,t,n){for(var o in t)"__proto__"!==o&&"constructor"!==o&&(o in e?"string"==typeof e[o]||e[o]instanceof String||"string"==typeof t[o]||t[o]instanceof String?n&&(e[o]=t[o]):Nn(e[o],t[o],n):e[o]=t[o]);return e}function Pn(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var Ln={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function In(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return Ln[e]})):e}var Tn="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,_n=function(e){function t(e){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return(0,dn.A)(this,t),n=(0,mn.A)(this,(0,hn.A)(t).call(this)),Tn&&bn.call((0,gn.A)(n)),n.data=e||{},n.options=o,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n}return(0,fn.A)(t,e),(0,pn.A)(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},r=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,i=[e,t];return n&&"string"!=typeof n&&(i=i.concat(n)),n&&"string"==typeof n&&(i=i.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(i=e.split(".")),wn(this.data,i)}},{key:"addResource",value:function(e,t,n,o){var r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=t,t=(a=e.split("."))[1]),this.addNamespaces(t),Sn(this.data,a,o),r.silent||this.emit("added",e,t,n,o)}},{key:"addResources",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var r in n)"string"!=typeof n[r]&&"[object Array]"!==Object.prototype.toString.apply(n[r])||this.addResource(e,t,r,n[r],{silent:!0});o.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(o=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=wn(this.data,a)||{};o?Nn(s,n,r):s=(0,cn.A)({},s,n),Sn(this.data,a,s),i.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?(0,cn.A)({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(bn),xn={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,o,r){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,o,r))})),t}},Dn={},kn=function(e){function t(e){var n,o,r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return(0,dn.A)(this,t),n=(0,mn.A)(this,(0,hn.A)(t).call(this)),Tn&&bn.call((0,gn.A)(n)),o=["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],r=e,i=(0,gn.A)(n),o.forEach((function(e){r[e]&&(i[e]=r[e])})),n.options=a,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=yn.create("translator"),n}return(0,fn.A)(t,e),(0,pn.A)(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return{key:e,namespaces:r};var a=e.split(n);(n!==o||n===o&&this.options.ns.indexOf(a[0])>-1)&&(r=a.shift()),e=a.join(o)}return"string"==typeof r&&(r=[r]),{key:e,namespaces:r}}},{key:"translate",value:function(e,n,o){var r=this;if("object"!==(0,un.A)(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(e[e.length-1],n),s=a.key,l=a.namespaces,u=l[l.length-1],c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(d){var p=n.nsSeparator||this.options.nsSeparator;return u+p+s}return s}var m=this.resolve(e,n),h=m&&m.res,g=m&&m.usedKey||s,f=m&&m.exactUsedKey||s,v=Object.prototype.toString.apply(h),y=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject;if(b&&h&&("string"!=typeof h&&"boolean"!=typeof h&&"number"!=typeof h)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(v)<0&&("string"!=typeof y||"[object Array]"!==v)){if(!n.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,h,n):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(i){var E="[object Array]"===v,A=E?[]:{},C=E?f:g;for(var S in h)if(Object.prototype.hasOwnProperty.call(h,S)){var w="".concat(C).concat(i).concat(S);A[S]=this.translate(w,(0,cn.A)({},n,{joinArrays:!1,ns:l})),A[S]===w&&(A[S]=h[S])}h=A}}else if(b&&"string"==typeof y&&"[object Array]"===v)(h=h.join(y))&&(h=this.extendTranslation(h,e,n,o));else{var O=!1,N=!1,P=void 0!==n.count&&"string"!=typeof n.count,L=t.hasDefaultValue(n),I=P?this.pluralResolver.getSuffix(c,n.count):"",T=n["defaultValue".concat(I)]||n.defaultValue;!this.isValidLookup(h)&&L&&(O=!0,h=T),this.isValidLookup(h)||(N=!0,h=s);var _=L&&T!==h&&this.options.updateMissing;if(N||O||_){if(this.logger.log(_?"updateKey":"missingKey",c,u,s,_?T:h),i){var x=this.resolve(s,(0,cn.A)({},n,{keySeparator:!1}));x&&x.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var D=[],k=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&k&&k[0])for(var R=0;R1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var d=void 0!==s.count&&"string"!=typeof s.count,p=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,m=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);c.forEach((function(e){a.isValidLookup(t)||(i=e,!Dn["".concat(m[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(Dn["".concat(m[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(m.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach((function(n){if(!a.isValidLookup(t)){r=n;var i,l,c=u,m=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(m,u,n,e,s);else d&&(i=a.pluralResolver.getSuffix(n,s.count)),d&&p&&m.push(c+i),p&&m.push(c+="".concat(a.options.contextSeparator).concat(s.context)),d&&m.push(c+=i);for(;l=m.pop();)a.isValidLookup(t)||(o=l,t=a.getResource(n,e,l,s))}})))}))}})),{res:t,usedKey:n,exactUsedKey:o,usedLng:r,usedNS:i}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,o):this.resourceStore.getResource(e,t,n,o)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}]),t}(bn);function Rn(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Mn=function(){function e(t){(0,dn.A)(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=yn.create("languageUtils")}return(0,pn.A)(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Rn(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Rn(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Rn(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var o=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(o)||(t=o)}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var o=n.getLanguagePartFromCode(e);if(n.isSupportedCode(o))return t=o;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(o))return e}))}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,o=this.getFallbackCodes(t||this.options.fallbackLng||[],e),r=[],i=function(e){e&&(n.isSupportedCode(e)?r.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),o.forEach((function(e){r.indexOf(e)<0&&i(n.formatLanguageCode(e))})),r}}]),e}(),Bn=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Fn={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};var Un=function(){function e(t){var n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,dn.A)(this,e),this.languageUtils=t,this.options=o,this.logger=yn.create("pluralResolver"),this.rules=(n={},Bn.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:Fn[e.fc]}}))})),n)}return(0,pn.A)(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,o=this.getRule(e);if(o){var r=o.noAbs?o.plurals(t):o.plurals(Math.abs(t)),i=o.numbers[r];this.options.simplifyPluralSuffix&&2===o.numbers.length&&1===o.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===o.numbers.length&&1===o.numbers[0]?a():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),jn=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,dn.A)(this,e),this.logger=yn.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return(0,pn.A)(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:In,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?Pn(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?Pn(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?Pn(t.nestingPrefix):t.nestingPrefixEscaped||Pn("$t("),this.nestingSuffix=t.nestingSuffix?Pn(t.nestingSuffix):t.nestingSuffixEscaped||Pn(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,o){var r,i,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var r=On(t,l,e);return s.alwaysFormat?s.format(r,void 0,n):r}var i=e.split(s.formatSeparator),a=i.shift().trim(),u=i.join(s.formatSeparator).trim();return s.format(On(t,l,a),u,n,o)};this.resetRegExp();var d=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,p=o&&o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}].forEach((function(t){for(a=0;r=t.regex.exec(e);){if(void 0===(i=c(r[1].trim())))if("function"==typeof d){var n=d(e,r,o);i="string"==typeof n?n:""}else{if(p){i=r[0];continue}s.logger.warn("missed to pass in variable ".concat(r[1]," for interpolating ").concat(e)),i=""}else"string"==typeof i||s.useRawValueToEscape||(i=An(i));if(e=e.replace(r[0],t.safeValue(i)),t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,o,r=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=(0,cn.A)({},i);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var o=e.split(new RegExp("".concat(n,"[ ]*{"))),r="{".concat(o[1]);e=o[0],r=(r=this.interpolate(r,a)).replace(/'/g,'"');try{a=JSON.parse(r),t&&(a=(0,cn.A)({},t,a))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(r)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],u=!1;if(n[0].includes(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),l=c,u=!0}if((o=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof o)return o;"string"!=typeof o&&(o=An(o)),o||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),o=""),u&&(o=l.reduce((function(e,t){return r.format(e,t,i.lng,i)}),o.trim())),e=e.replace(n[0],o),this.regexp.lastIndex=0}return e}}]),e}();var Gn=function(e){function t(e,n,o){var r,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return(0,dn.A)(this,t),r=(0,mn.A)(this,(0,hn.A)(t).call(this)),Tn&&bn.call((0,gn.A)(r)),r.backend=e,r.store=n,r.services=o,r.languageUtils=o.languageUtils,r.options=i,r.logger=yn.create("backendConnector"),r.state={},r.queue=[],r.backend&&r.backend.init&&r.backend.init(o,i.backend,i),r}return(0,fn.A)(t,e),(0,pn.A)(t,[{key:"queueLoad",value:function(e,t,n,o){var r=this,i=[],a=[],s=[],l=[];return e.forEach((function(e){var o=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&r.store.hasResourceBundle(e,t)?r.state[s]=2:r.state[s]<0||(1===r.state[s]?a.indexOf(s)<0&&a.push(s):(r.state[s]=1,o=!1,a.indexOf(s)<0&&a.push(s),i.indexOf(s)<0&&i.push(s),l.indexOf(t)<0&&l.push(t)))})),o||s.push(e)})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:o}),{toLoad:i,pending:a,toLoadLanguages:s,toLoadNamespaces:l}}},{key:"loaded",value:function(e,t,n){var o=e.split("|"),r=o[0],i=o[1];t&&this.emit("failedLoading",r,i,t),n&&this.store.addResourceBundle(r,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){var o,s,l,u,c,d;o=n.loaded,s=i,u=Cn(o,[r],Object),c=u.obj,d=u.k,c[d]=c[d]||[],l&&(c[d]=c[d].concat(s)),l||c[d].push(s),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t)}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t)}))})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return!e.done}))}},{key:"read",value:function(e,t,n){var o=this,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,l){s&&l&&r<5?setTimeout((function(){o.read.call(o,e,t,n,r+1,2*i,a)}),i):a(s,l)})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,o,r);if(!i.toLoad.length)return i.pending.length||r(),null;i.toLoad.forEach((function(e){n.loadOne(e)}))}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.split("|"),r=o[0],i=o[1];this.read(r,i,"read",void 0,void 0,(function(o,a){o&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(r," failed"),o),!o&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(r),a),t.loaded(e,o,a)}))}},{key:"saveMissing",value:function(e,t,n,o,r){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,o,null,(0,cn.A)({},i,{isUpdate:r})),e&&e[0]&&this.store.addResource(e[0],t,n,o))}}]),t}(bn);function Wn(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Hn(){}var zn=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if((0,dn.A)(this,t),e=(0,mn.A)(this,(0,hn.A)(t).call(this)),Tn&&bn.call((0,gn.A)(e)),e.options=Wn(n),e.services={},e.logger=yn,e.modules={external:[]},o&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,o),(0,mn.A)(e,(0,gn.A)(e));setTimeout((function(){e.init(n,o)}),0)}return e}return(0,fn.A)(t,e),(0,pn.A)(t,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function o(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=(0,cn.A)({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===(0,un.A)(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===(0,un.A)(e[2])||"object"===(0,un.A)(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e]}))}return t},interpolation:{escapeValue:!0,format:function(e,t,n,o){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}},this.options,Wn(t)),this.format=this.options.interpolation.format,n||(n=Hn),!this.options.isClone){this.modules.logger?yn.init(o(this.modules.logger),this.options):yn.init(null,this.options);var r=new Mn(this.options);this.store=new _n(this.options.resources,this.options);var i=this.services;i.logger=yn,i.resourceStore=this.store,i.languageUtils=r,i.pluralResolver=new Un(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new jn(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Gn(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r1?n-1:0),r=1;r0&&"dev"!==a[0]&&(this.options.lng=a[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments)}}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return(n=e.store)[t].apply(n,arguments),e}}));var s=En(),l=function(){var t=function(t,o){e.isInitialized&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),s.resolve(o),n(t,o)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hn,o="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(o&&"cimode"===o.toLowerCase())return n();var r=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){r.indexOf(e)<0&&r.push(e)}))};if(o)i(o);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return i(e)}));this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(r,this.options.ns,n)}else n(null)}},{key:"reloadResources",value:function(e,t,n){var o=En();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Hn),this.services.backendConnector.reload(e,t,(function(e){o.resolve(),n(e)})),o}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&xn.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var o=En();this.emit("languageChanging",e);var r=function(e){var r="string"==typeof e?e:n.services.languageUtils.getBestMatchFromCodes(e);r&&(n.language||(n.language=r,n.languages=n.services.languageUtils.toResolveHierarchy(r)),n.translator.language||n.translator.changeLanguage(r),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(r)),n.loadResources(r,(function(e){!function(e,r){r?(n.language=r,n.languages=n.services.languageUtils.toResolveHierarchy(r),n.translator.changeLanguage(r),n.isLanguageChangingTo=void 0,n.emit("languageChanged",r),n.logger.log("languageChanged",r)):n.isLanguageChangingTo=void 0,o.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}))}(e,r)}))};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(r):r(e):r(this.services.languageDetector.detect()),o}},{key:"getFixedT",value:function(e,t){var n=this,o=function e(t,o){var r;if("object"!==(0,un.A)(o)){for(var i=arguments.length,a=new Array(i>2?i-2:0),s=2;s1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===o.toLowerCase())return!0;var a=function(e,n){var o=t.services.backendConnector.state["".concat(e,"|").concat(n)];return-1===o||2===o};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return!!this.hasResourceBundle(o,e)||(!this.services.backendConnector.backend||!(!a(o,e)||r&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,o=En();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e)})),this.loadResources((function(e){o.resolve(),t&&t(e)})),o):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=En();"string"==typeof e&&(e=[e]);var o=this.options.preload||[],r=e.filter((function(e){return o.indexOf(e)<0}));return r.length?(this.options.preload=o.concat(r),this.loadResources((function(e){n.resolve(),t&&t(e)})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){return new t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Hn,r=(0,cn.A)({},this.options,n,{isClone:!0}),i=new t(r);return["store","services","language"].forEach((function(t){i[t]=e[t]})),i.services=(0,cn.A)({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new kn(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o{try{return o(null,await t(e))}catch(e){return o(e,null)}}}),n&&(l.resources={[e]:{translation:n}}),i||u.init(l),u}(t,{icu:new ln({parseErrorHandler:n,bindI18n:t.bindI18n,...e})})};!function(e){e.Default="",e.OwnerAccount="owner-account"}(Jn||(Jn={}));var Kn="__WIXEXP_USE_NEW_API",$n="__WIXEXP_CONDUCTION_METHOD_",qn="__WIXEXP_OWNER_ACCOUNT_ID_",Yn="__WIXEXP_LOGGED_IN_USER_ID_";function Xn(e,t,n){var o,r;if("undefined"!=typeof self)if("function"==typeof n){if(void 0!==n(self[t]))return(o={})[e]=n(self[t]),o}else if(typeof self[t]===n)return(r={})[e]=self[t],r;return{}}var Qn=function(e){return Object.keys(Jn).filter((function(t){return Jn[t]===e})).length>0?e:void 0};function eo(e){return function(e){return e.conductionMethod===Jn.OwnerAccount&&e.siteOwnerId&&e.loggedInUserId}(e)?{forSiteOwner:{siteOwnerId:e.siteOwnerId,loggedInUserId:e.loggedInUserId}}:{}}var to=function(e){return"string"==typeof e&&""!==e};function no(e){void 0===e&&(e={});var t=e.forSiteOwner,n=e.forSiteVisitors,o=e.overrideCriteria,r="";if(["forSiteOwner","forSiteVisitors"].reduce((function(t,n){return e[n]?t+1:t}),0)>1)throw new Error('Only one of "forSiteOwner" or "forSiteVisitors" is accepted.');return t&&(r+=function(e){return to(e.loggedInUserId)&&to(e.siteOwnerId)?"&"+"requestContext.forSiteOwner.loggedInUserId=".concat(e.loggedInUserId,"&")+"requestContext.forSiteOwner.siteOwnerId=".concat(e.siteOwnerId):""}(t)),n&&(r+=function(e){return to(e.visitorId)&&to(e.siteOwnerId)?"&"+"requestContext.forSiteVisitors.visitorId=".concat(e.visitorId,"&")+"requestContext.forSiteVisitors.siteOwnerId=".concat(e.siteOwnerId):""}(n)),o&&(r+=function(e){return to(e.entityId)?"&requestContext.overrideCriteria.entityId=".concat(e.entityId):""}(o)),r}function oo(e){if("string"==typeof e)try{return JSON.parse(e)}catch(e){}return e}var ro={conductAllInScope:"/_api/wix-laboratory-server/v1/laboratory/platform/conductAllInScope",conductExperiment:"/_api/wix-laboratory-server/v1/laboratory/platform/conductExperiment"},io={conductAllInScope:"/_api/wix-laboratory-server/laboratory/conductAllInScope",conductExperiment:"/_api/wix-laboratory-server/laboratory/conductExperiment"};function ao(e,t){return-1!==e.indexOf(t?ro.conductAllInScope:io.conductAllInScope)}var so=function(e,t,n){return void 0===e&&(e=""),void 0===t&&(t=""),void 0===n&&(n=!1),n?"".concat(ro.conductExperiment,"?key=").concat(encodeURIComponent(e),"&fallbackValue=").concat(encodeURIComponent(t)):"".concat(io.conductExperiment,"?key=").concat(encodeURIComponent(e),"&fallback=").concat(encodeURIComponent(t))};function lo(e,t,n){var o="".concat(so(t,"",n));return e.includes(o)}var uo=function(){function e(){this.urlMap=new Map,this.pendingUrlMap=new Map}return e.prototype.addUrlRequest=function(e,t){return(0,f.__awaiter)(this,void 0,void 0,(function(){var n=this;return(0,f.__generator)(this,(function(o){switch(o.label){case 0:return this.pendingUrlMap.set(e,t),[4,t.then((function(t){return n.addUrlResponse(e,t)}))];case 1:return o.sent(),[2]}}))}))},e.prototype.addUrlResponse=function(e,t){this.urlMap.set(e,t)},e.prototype.getUrlResponse=function(e){return this.urlMap.get(e)},e.prototype.getUrlRequest=function(e){return this.pendingUrlMap.get(e)},e.prototype.getExperimentValue=function(e,t){var n,o;try{for(var r=(0,f.__values)(this.urlMap.keys()),i=r.next();!i.done;i=r.next()){var a=i.value;if(lo(a,e,t))return this.urlMap.get(a);if(ao(a,t)){var s=oo(this.urlMap.get(a));if("object"==typeof s&&e in s)return s[e]}}}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}},e}();!function(){function e(){}e.prototype.addUrlRequest=function(){},e.prototype.addUrlResponse=function(){},e.prototype.getUrlResponse=function(){},e.prototype.getUrlRequest=function(){},e.prototype.getExperimentValue=function(){}}();function co(){return void 0===self.experimentsCacheV2&&(self.experimentsCacheV2=new uo),self.experimentsCacheV2}function po(){return"object"==typeof self?self:n.g}function mo(e){const t=function(e){return function(){const e=function(){if("object"==typeof document)return document}();if(e&&e.cookie)return decodeURIComponent(e.cookie).split(";");return[]}().filter((t=>e===t.split("=")[0].trim()))[0]}(e);return t?t.split("=")[1]:""}const ho="XSRF-TOKEN",go="x-xsrf-token";const fo="x-wix-brand";function vo(){const e=function(){const e=po();if(e&&e.commonConfig&&"string"==typeof e.commonConfig.brand)return e.commonConfig.brand;return""}();return{[fo]:e}}function yo(){return function(){const e=po();if(e&&e.consentPolicyManager&&"function"==typeof e.consentPolicyManager._getConsentPolicyHeader)return e.consentPolicyManager._getConsentPolicyHeader();return}()||function(){const e=po();if(e&&e.Wix&&e.Wix.Utils&&"function"==typeof e.Wix.Utils._getConsentPolicyHeader)return e.Wix.Utils._getConsentPolicyHeader();return}()||{}}var bo=n(88538);function Eo(){return void 0!==bo&&null!=bo.versions?.node&&(!!bo.env.TEAMCITY_VERSION||!!bo.env.BUILDKITE)}const Ao=["consentPolicy","consentPolicyHeader"],Co="commonConfig",So={bsi:"BSI"};const wo=()=>{const e=function(){const e=po(),t=e?.commonConfig;if(!t)return null;const n={};let o=!1;return Object.keys(t).forEach((e=>{const r=So[e];r?(n[r]=t[e],o=!0):Ao.indexOf(e)<0&&"function"!=typeof t[e]&&(n[e]=t[e],o=!0)})),o?n:null}(),t=e?JSON.stringify(e):"";return{[Co]:encodeURIComponent(t)}};var Oo=n(54902),No=n.n(Oo);const Po="x-wix-linguist";function Lo({lang:e,locale:t,isPrimaryLanguage:n,signedInstance:o}){if(function({lang:e,locale:t,isPrimaryLanguage:n}){return e&&t&&/^(true|false)$/.test(n?.toString()||"")}({lang:e,locale:t,isPrimaryLanguage:n})){const r=function(e){try{const t=e?.startsWith("wixcode")?e?.split(".")[2]:e?.split(".")[1];if(t)return JSON.parse(No().decode(t)).instanceId}catch(e){}}(o);if(void 0!==r)return{[Po]:[e,t,n?.toString(),r].join("|")}}return{}}Error;class Io extends Error{constructor(e,t,n){super(`WixHeadersValidationError: expected ${t} to be ${e} but got ${JSON.stringify(n)}`)}}function To(e={}){!function(e){(function(e,t){if("boolean"!=typeof t)throw new Io("boolean",e,t)})("opts.csrf",e.csrf),function(e,t){if("string"!=typeof t)throw new Io("string",e,t)}("opts.signedInstance",e.signedInstance)}(e={csrf:!0,signedInstance:"",...e});const t=[vo(),yo(),(o=e.signedInstance,{authorization:o}),(n=e.artifactId,{"X-Wix-Client-Artifact-Id":n??(Eo()?"":"communities-blog-ooi")}),wo(),Lo({signedInstance:e.signedInstance,...e.multilingualOptions})];var n,o;return e.csrf&&t.push(function(){const e=mo(ho);return{[go]:e}}()),t.filter((e=>Object.values(e).every((e=>e)))).reduce(((e,t)=>({...e,...t})),{})}var _o=function(){function e(e){var t;this.experiments=null!==(t=e.experiments)&&void 0!==t?t:{}}return e.prototype.get=function(e){return this.experiments[e]},e.prototype.enabled=function(e){return"true"===this.get(e)},e.prototype.pending=function(){return!1},e.prototype.ready=function(){return Promise.resolve()},e.prototype.all=function(){return this.experiments},e}(),xo=function(){},Do=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,t)||this,o=(0,f.__assign)((0,f.__assign)((0,f.__assign)((0,f.__assign)({},Xn("useNewApi",Kn,"boolean")),Xn("conductionMethod",$n,Qn)),Xn("siteOwnerId",qn,"string")),Xn("loggedInUserId",Yn,"string"));return n.useNewApi=void 0!==t.useNewApi?t.useNewApi:o.useNewApi||!1,n.experiments=t.experiments||{},n.loaders=new Map,n.baseUrl=(n.useNewApi,t.baseUrl||""),n.requestContext=t.requestContext||eo(o),n.onError=t.onError||xo,t.scope&&n.load(t.scope),t.scopes&&t.scopes.forEach(n.load.bind(n)),n}return(0,f.__extends)(t,e),t.prototype.add=function(e){this.experiments=(0,f.__assign)((0,f.__assign)({},this.experiments),e)},t.prototype._addLoader=function(e,t){var n=this;return this.loaders.set(e,t),t.then((function(){n.loaders.delete(e)})),t},t.prototype._getUrlWithFallback=function(e,t){var n=this,o=co().getUrlResponse(e);if(void 0!==o)return Promise.resolve(o);var r=co().getUrlRequest(e);if(void 0!==r)return r;var i=this.loaders.get(e);if(void 0!==i)return i;var a=function(e){return new Promise((function(t,n){var o=To(),r=new XMLHttpRequest;r.open("GET",e,!0),Object.keys(o).forEach((function(e){return r.setRequestHeader(e,o[e])})),r.responseType="text",r.withCredentials=!0,r.onload=function(){r.status>=200&&r.status<400?t(r.responseText):n(new Error("Failed to load ".concat(e,", status ").concat(r.status)))},r.onerror=function(){return n(new Error("Failed to load ".concat(e)))},r.send()}))}(e).catch((function(e){return n.onError(e),t}));return co().addUrlRequest(e,a),a},t.prototype.load=function(e){var t=this,n=function(e,t){return void 0===e&&(e=""),void 0===t&&(t=!1),t?"".concat(ro.conductAllInScope,"?scope=").concat(encodeURIComponent(e)):"".concat(io.conductAllInScope,"?scope=").concat(encodeURIComponent(e))}(e,this.useNewApi),o=this.useNewApi?no(this.requestContext):"",r="".concat(this.baseUrl).concat(n).concat(o),i=this._getUrlWithFallback(r,"{}").then((function(e){return oo(e)})).then((function(e){return t.useNewApi?e.values:e})).then((function(e){return t.add(e),e}));return this._addLoader(r,i)},t.prototype.conduct=function(e,t){var n=this,o=co().getExperimentValue(e,this.useNewApi);if(void 0!==o)return this._addConductResult(e,o);var r=so(e,t,this.useNewApi),i=this.useNewApi?no(this.requestContext):"",a="".concat(this.baseUrl).concat(r).concat(i),s=this._getUrlWithFallback(a,null!=t?t:"").then((function(t){return n._addConductResult(e,t)}));return this._addLoader(a,s)},t.prototype.pending=function(){return!!this.loaders.size},t.prototype.ready=function(){return Promise.all(Array.from(this.loaders.values()))},t.prototype._addConductResult=function(e,t){var n,o=this.useNewApi?JSON.parse(t).value:t;return this.add(((n={})[e]=o,n)),Promise.resolve(o)},t}(_o),ko=function(){return ko=Object.assign||function(e){for(var t,n=1,o=arguments.length;n0&&r[r.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!r||i[1]>r[0]&&i[1]cr(ur,{darkMode:e}))({darkMode:t}))}getDataAttributes(){const{theme:e,darkMode:t,madefor:n}=this.props;return{"data-theme":e,"data-dark-mode":t,"data-madefor":n}}getValue(){const{theme:e,darkMode:t,madefor:n}=this.props;return{theme:e,darkMode:t,madefor:n,appFlagsClass:this.getClassName(),appDataAttributes:this.getDataAttributes()}}render(){const{dataHook:e,as:t="span",children:n}=this.props;return r.createElement(hr.Provider,{value:this.getValue()},r.createElement(t,{className:this.getClassName(),"data-hook":e,...this.getDataAttributes()},n))}}function fr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function vr(e,t,n){return t=(0,hn.A)(t),(0,mn.A)(e,yr()?Reflect.construct(t,n||[],(0,hn.A)(e).constructor):t.apply(e,n))}function yr(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(yr=function(){return!!e})()}gr.displayName="BaseUiNextProvider",gr.defaultProps={as:"span",darkMode:!1,madefor:!1};var br=function(e){function t(e){var n;return(0,dn.A)(this,t),(n=vr(this,t,[e])).themes={classic:er,responsive:nr,facelift:rr},n.themeRootSelectors={classic:void 0,responsive:"responsive-skin",facelift:"classic-facelift-skin"},n}return(0,fn.A)(t,e),(0,pn.A)(t,[{key:"getClassName",value:function(){var e=this.props,n=e.theme,o=e.madefor,r=e.darkMode,i=e.inputBorders;return sr(ar,{madefor:o},this.themes[n]({darkMode:r}),this.themeRootSelectors[n],r&&"dark-mode",i&&"facelift"===n?"input-borders-experiment":"",Xo((0,hn.A)(t.prototype),"getClassName",this).call(this))}},{key:"getDataAttributes",value:function(){return function(e){for(var t=1;t=c.length;return r.createElement("div",{className:h},u&&a?c.map((function(e){return r.createElement("link",{href:"".concat(u).concat(e),rel:"stylesheet",type:"text/css",key:e,onLoad:y})})):null,a&&v?r.createElement(e,(0,f.__assign)({},t)):null,!a&&r.createElement(e,(0,f.__assign)({},t)));function y(){m((function(e){return e+1}))}};return s.displayName="WithStyles",s.tokenForCiPoliceRule="e2425ecc-e4c1-474c-9e2b-8357f32c907b",s},createExperiments:function(e){return new Uo(e)},createWidgetExperiments:function(e){return new Do(e)},providers:Ir},it,{multilingualDisabled:!1,sentryConfig:{DSN:"https://2062d0a4929b45348643784b5cb39c36@sentry.wixpress.com/1643",id:"2062d0a4929b45348643784b5cb39c36",projectName:"communities-blog-ooi",teamName:"blogas",errorMonitor:!0},styleHocConfig:{enabled:!0},translationsConfig:{enabled:!0,icuEnabled:!0,defaultTranslationsPath:"/home/builduser/work/a28d066c8eec62f2/packages/communities-blog-ooi/src/assets/locales/messages_en.json",availableLanguages:["ar","bg","ca","cs","da","de","el","en","es","fi","fr","he","hi","hu","id","it","ja","ko","lt","ms","nl","no","pl","pt","ro","ru","sk","sl","sv","th","tl","tr","uk","vi","zh"]},stylesParams:o.default,customCssVars:o.customCssVars||function(){return{}},componentId:"14c1462a-97f2-9f6a-7bb7-f5541f23caa6",name:"Blog",withErrorBoundary:!1,localeDistPath:"assets/locales"});Tr=(0,Lr.hot)(e,Tr);const _r=it.loadChunks,xr={loadableReady:n(19635).loadableReady,chunkLoadingGlobal:"webpackJsonp__wix_communities_blog_ooi",component:Tr,loadChunks:_r}},35904:(e,t,n)=>{"use strict";n.d(t,{Pk:()=>y,tl:()=>b});const o=2147483647,r=36,i=/^xn--/,a=/[^\0-\x7E]/,s=/[\x2E\u3002\uFF0E\uFF61]/g,l={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},u=Math.floor,c=String.fromCharCode;function d(e){throw new RangeError(l[e])}function p(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]);const r=function(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}((e=e.replace(s,".")).split("."),t).join(".");return o+r}function m(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&n>1,e+=u(e/t);e>455;o+=r)e=u(e/35);return u(o+36*e/(e+38))},f=function(e){const t=[],n=e.length;let i=0,a=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let n=0;n=128&&d("not-basic"),t.push(e.charCodeAt(n));for(let p=l>0?l+1:0;p=n&&d("invalid-input");const l=(c=e.charCodeAt(p++))-48<10?c-22:c-65<26?c-65:c-97<26?c-97:r;(l>=r||l>u((o-i)/t))&&d("overflow"),i+=l*t;const m=a<=s?1:a>=s+26?26:a-s;if(lu(o/h)&&d("overflow"),t*=h}const m=t.length+1;s=g(i-l,m,0==l),u(i/m)>o-a&&d("overflow"),a+=u(i/m),i%=m,t.splice(i++,0,a)}var c;return String.fromCodePoint(...t)},v=function(e){const t=[];let n=(e=m(e)).length,i=128,a=0,s=72;for(const n of e)n<128&&t.push(c(n));let l=t.length,p=l;for(l&&t.push("-");p=i&&tu((o-a)/m)&&d("overflow"),a+=(n-i)*m,i=n;for(const n of e)if(no&&d("overflow"),n==i){let e=a;for(let n=r;;n+=r){const o=n<=s?1:n>=s+26?26:n-s;if(e>18&63)+u.charAt(r>>12&63)+u.charAt(r>>6&63)+u.charAt(63&r);return 2==i?(t=e.charCodeAt(s)<<8,n=e.charCodeAt(++s),a+=u.charAt((r=t+n)>>10)+u.charAt(r>>4&63)+u.charAt(r<<2&63)+"="):1==i&&(r=e.charCodeAt(s),a+=u.charAt(r>>2)+u.charAt(r<<4&63)+"=="),a},decode:function(e){var t=(e=String(e).replace(c,"")).length;t%4==0&&(t=(e=e.replace(/==?$/,"")).length),(t%4==1||/[^+a-zA-Z0-9/]/.test(e))&&l("Invalid character: the string to be decoded is not correctly encoded.");for(var n,o,r=0,i="",a=-1;++a>(-2*r&6)));return i},version:"1.0.0"};void 0===(o=function(){return d}.call(t,n,t,e))||(e.exports=o)}()},32880:e=>{"use strict";e.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},56250:(e,t,n)=>{var o=n(32880),r=n(56852),i=Object.hasOwnProperty,a=Object.create(null);for(var s in o)i.call(o,s)&&(a[o[s]]=s);var l=e.exports={to:{},get:{}};function u(e,t,n){return Math.min(Math.max(t,e),n)}function c(e){var t=Math.round(e).toString(16).toUpperCase();return t.length<2?"0"+t:t}l.get=function(e){var t,n;switch(e.substring(0,3).toLowerCase()){case"hsl":t=l.get.hsl(e),n="hsl";break;case"hwb":t=l.get.hwb(e),n="hwb";break;default:t=l.get.rgb(e),n="rgb"}return t?{model:n,value:t}:null},l.get.rgb=function(e){if(!e)return null;var t,n,r,a=[0,0,0,1];if(t=e.match(/^#([a-f0-9]{6})([a-f0-9]{2})?$/i)){for(r=t[2],t=t[1],n=0;n<3;n++){var s=2*n;a[n]=parseInt(t.slice(s,s+2),16)}r&&(a[3]=parseInt(r,16)/255)}else if(t=e.match(/^#([a-f0-9]{3,4})$/i)){for(r=(t=t[1])[3],n=0;n<3;n++)a[n]=parseInt(t[n]+t[n],16);r&&(a[3]=parseInt(r+r,16)/255)}else if(t=e.match(/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)){for(n=0;n<3;n++)a[n]=parseInt(t[n+1],0);t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}else{if(!(t=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/)))return(t=e.match(/^(\w+)$/))?"transparent"===t[1]?[0,0,0,0]:i.call(o,t[1])?((a=o[t[1]])[3]=1,a):null:null;for(n=0;n<3;n++)a[n]=Math.round(2.55*parseFloat(t[n+1]));t[4]&&(t[5]?a[3]=.01*parseFloat(t[4]):a[3]=parseFloat(t[4]))}for(n=0;n<3;n++)a[n]=u(a[n],0,255);return a[3]=u(a[3],0,1),a},l.get.hsl=function(e){if(!e)return null;var t=e.match(/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},l.get.hwb=function(e){if(!e)return null;var t=e.match(/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/);if(t){var n=parseFloat(t[4]);return[(parseFloat(t[1])%360+360)%360,u(parseFloat(t[2]),0,100),u(parseFloat(t[3]),0,100),u(isNaN(n)?1:n,0,1)]}return null},l.to.hex=function(){var e=r(arguments);return"#"+c(e[0])+c(e[1])+c(e[2])+(e[3]<1?c(Math.round(255*e[3])):"")},l.to.rgb=function(){var e=r(arguments);return e.length<4||1===e[3]?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"},l.to.rgb.percent=function(){var e=r(arguments),t=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),o=Math.round(e[2]/255*100);return e.length<4||1===e[3]?"rgb("+t+"%, "+n+"%, "+o+"%)":"rgba("+t+"%, "+n+"%, "+o+"%, "+e[3]+")"},l.to.hsl=function(){var e=r(arguments);return e.length<4||1===e[3]?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"},l.to.hwb=function(){var e=r(arguments),t="";return e.length>=4&&1!==e[3]&&(t=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+t+")"},l.to.keyword=function(e){return a[e.slice(0,3)]}},3086:(e,t,n)=>{var o,r;!function(i,a){"use strict";void 0===(r="function"==typeof(o=a)?o.call(t,n,t,e):o)||(e.exports=r)}(window,(function(){"use strict";var e=function(){var e=window.Element.prototype;if(e.matches)return"matches";if(e.matchesSelector)return"matchesSelector";for(var t=["webkit","moz","ms","o"],n=0;n{var o,r;!function(i,a){o=[n(3086)],r=function(e){return function(e,t){"use strict";var n={extend:function(e,t){for(var n in t)e[n]=t[n];return e},modulo:function(e,t){return(e%t+t)%t}},o=Array.prototype.slice;n.makeArray=function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?o.call(e):[e]},n.removeFrom=function(e,t){var n=e.indexOf(t);-1!=n&&e.splice(n,1)},n.getParent=function(e,n){for(;e.parentNode&&e!=document.body;)if(e=e.parentNode,t(e,n))return e},n.getQueryElement=function(e){return"string"==typeof e?document.querySelector(e):e},n.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},n.filterFindElements=function(e,o){e=n.makeArray(e);var r=[];return e.forEach((function(e){if(e instanceof HTMLElement)if(o){t(e,o)&&r.push(e);for(var n=e.querySelectorAll(o),i=0;i{var o,r; /*! * getSize v2.0.3 * measure size of elements * MIT license */window,void 0===(r="function"==typeof(o=function(){"use strict";function e(e){var t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}function t(){}var n="undefined"==typeof console?t:function(e){console.error(e)},o=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],r=o.length;function i(){for(var e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},t=0;t